Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002897/0.002897, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.987/2.987, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 65.94 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.156, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00178/1.158, allocations: 0.8311 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001014/1.158, allocations: 40.73 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/1.158, allocations: 2.375 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/1.158, allocations: 7.875 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/1.158, allocations: 11.25 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.291e-05/1.158, allocations: 24.59 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.773e-05/1.158, allocations: 60.48 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.158, allocations: 27.38 kB / 1.322 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/1.158, allocations: 29.7 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/1.158, allocations: 33.36 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/1.158, allocations: 7.281 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/1.158, allocations: 5.5 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/1.158, allocations: 14.12 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/1.158, allocations: 35.34 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/1.159, allocations: 76.52 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.159, allocations: 4 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/1.159, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.31e-06/1.159, allocations: 3.938 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003513/1.159, allocations: 381.4 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.159, allocations: 15.05 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/1.159, allocations: 192 / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/1.159, allocations: 40.73 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/1.159, allocations: 10.45 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/1.159, allocations: 201.9 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/1.159, allocations: 7.094 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/1.159, allocations: 5.656 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/1.159, allocations: 104.2 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.159, allocations: 0 / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/1.159, allocations: 6.625 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.159, allocations: 3.234 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/1.159, allocations: 37.33 kB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/1.16, allocations: 437.8 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/1.16, allocations: 40.09 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/1.16, allocations: 19.28 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/1.16, allocations: 4 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/1.16, allocations: 44.41 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.16, allocations: 0 / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001466/1.16, allocations: 55.52 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/1.16, allocations: 77.11 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.16, allocations: 166.4 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/1.16, allocations: 25.95 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/1.16, allocations: 108.8 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/1.16, allocations: 3.953 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/1.16, allocations: 12.34 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/1.16, allocations: 320.8 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/1.16, allocations: 6.844 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/1.16, allocations: 18.03 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/1.16, allocations: 34.16 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.16, allocations: 2.562 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.704e-05/1.16, allocations: 57.14 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.16, allocations: 9.188 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/1.16, allocations: 0 / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.16, allocations: 2.875 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/1.161, allocations: 2.906 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.161, allocations: 6.672 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/1.161, allocations: 18.67 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/1.161, allocations: 4 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/1.161, allocations: 118.3 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/1.161, allocations: 13.02 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/1.161, allocations: 6.375 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.161, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.161, allocations: 2.562 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.161, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/1.161, allocations: 483.5 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.161, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/1.161, allocations: 2.344 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.161, allocations: 2.844 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.161, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.161, allocations: 3.281 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.161, allocations: 2.594 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.887e-05/1.161, allocations: 88.62 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/1.161, allocations: 91.23 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/1.161, allocations: 3.031 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/1.161, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/1.161, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/1.161, allocations: 6.078 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.048e-05/1.161, allocations: 118.2 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.161, allocations: 4.031 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001868/1.161, allocations: 12.62 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/1.162, allocations: 0.6105 MB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.75e-05/1.162, allocations: 19.62 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.162, allocations: 0 / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/1.162, allocations: 14.22 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/1.162, allocations: 2.875 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/1.163, allocations: 1.332 MB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/1.163, allocations: 0.6965 MB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.117e-05/1.163, allocations: 5.781 kB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/1.163, allocations: 25.42 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/1.163, allocations: 0 / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/1.18, allocations: 1.638 MB / 1.33 GB, free: 17.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.533, allocations: 7.938 kB / 1.33 GB, free: 17.96 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.345422491955105]