Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001155/0.001155, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001111/0.001111, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9038/0.9038, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.547e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001725/0.001761, allocations: 0.8024 MB / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.001894, allocations: 39.78 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.001948, allocations: 0 / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.001989, allocations: 15.86 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.002079, allocations: 15.81 kB / 0.9514 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.803e-05/0.002127, allocations: 15.98 kB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.002241, allocations: 55.84 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.00239, allocations: 39.91 kB / 0.9515 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.327e-05/0.002473, allocations: 39.84 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.002542, allocations: 19.91 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.002572, allocations: 8 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-06/0.002579, allocations: 4 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.002602, allocations: 15.92 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.002637, allocations: 19.92 kB / 0.9516 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.002774, allocations: 75.69 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.002776, allocations: 0 / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.783e-06/0.002778, allocations: 0 / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.002783, allocations: 4 kB / 0.9516 GB, free: 2.324 MB / 0.9011 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.0004525/0.003235, allocations: 302 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.003287, allocations: 12.03 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.003327, allocations: 38.73 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.003355, allocations: 12.84 kB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.003536, allocations: 141.5 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003546, allocations: 4.375 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.003558, allocations: 8.375 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.003702, allocations: 87.95 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.003712, allocations: 4.125 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.003724, allocations: 8.375 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.003731, allocations: 8.062 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.003794, allocations: 35.98 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.004254, allocations: 391.9 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.004314, allocations: 41.09 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.004347, allocations: 13.84 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.004357, allocations: 4 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.004383, allocations: 38.5 kB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.004385, allocations: 4 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.004553, allocations: 49.64 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.004599, allocations: 88.98 kB / 0.9529 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.004727, allocations: 157 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.004738, allocations: 29.7 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.004803, allocations: 104 kB / 0.9531 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.004814, allocations: 3.938 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.004857, allocations: 21.67 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004957, allocations: 326.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.004975, allocations: 4.25 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.004997, allocations: 21.72 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.005036, allocations: 25.7 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.005039, allocations: 0 / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.698e-05/0.005116, allocations: 61.59 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.005133, allocations: 4 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.005141, allocations: 0 / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.005156, allocations: 0 / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.005229, allocations: 19.92 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005235, allocations: 4.062 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.005258, allocations: 7.938 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005262, allocations: 0 / 0.9536 GB, free: 52 kB / 0.9011 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 8.648e-05/0.005348, allocations: 113.8 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.005375, allocations: 11.91 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.005402, allocations: 11.81 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.005405, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.005412, allocations: 3.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.005418, allocations: 3.984 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.005753, allocations: 434 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.005755, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.005773, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.005777, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.005785, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.005787, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005789, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.072e-05/0.005859, allocations: 81.88 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.005888, allocations: 19.97 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.0059, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.00591, allocations: 64 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.005926, allocations: 4 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.005931, allocations: 7.984 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.005998, allocations: 118.3 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005998, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001316/0.006129, allocations: 7.938 kB / 0.9544 GB, free: 15.15 MB / 0.9167 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.0002821/0.006411, allocations: 0.6132 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.006503, allocations: 19.92 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.006508, allocations: 8.156 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.006514, allocations: 4 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.006648, allocations: 5.547 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.007635, allocations: 1.345 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.007693, allocations: 83.25 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.007728, allocations: 8.625 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.007787, allocations: 28.48 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/0.007788, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.02849, allocations: 2.238 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/6.667, allocations: 2.188 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 10.745231880806386]