Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007721/0.0007721, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008047/0.0008047, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9173/0.9173, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.671/1.671, allocations: 359 MB / 0.6037 GB, free: 11.08 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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.281e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001877/0.0019, allocations: 0.786 MB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.002027, allocations: 39.78 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.002085, allocations: 4 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.002129, allocations: 7.875 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.138e-05/0.002221, allocations: 11.92 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.826e-05/0.002269, allocations: 15.98 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.002388, allocations: 67.78 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.002529, allocations: 27.97 kB / 0.9514 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.002612, allocations: 39.84 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.002674, allocations: 27.89 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.002699, allocations: 4 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.002708, allocations: 8 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.002727, allocations: 7.938 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.002761, allocations: 31.84 kB / 0.9516 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.002882, allocations: 75.64 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.002885, allocations: 0 / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.002886, allocations: 4 kB / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.002891, allocations: 0 / 0.9516 GB, free: 2.312 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.0004409/0.003332, allocations: 306 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.003382, allocations: 8.031 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.003432, allocations: 46.73 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.003463, allocations: 12.84 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.003682, allocations: 137.5 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.003698, allocations: 4.375 kB / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.003712, allocations: 8.375 kB / 0.9521 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.003879, allocations: 87.95 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00389, allocations: 4.188 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.003904, allocations: 4.375 kB / 0.9522 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.003915, allocations: 16.05 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.004, allocations: 35.98 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.004547, allocations: 383.8 kB / 0.9526 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.004614, allocations: 41.28 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.004654, allocations: 17.84 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.004665, allocations: 0 / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.004693, allocations: 38.56 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.004695, allocations: 7.938 kB / 0.9527 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001967/0.004892, allocations: 49.64 kB / 0.9528 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.004941, allocations: 84.98 kB / 0.9529 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.005081, allocations: 157 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.005093, allocations: 29.7 kB / 0.953 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.005167, allocations: 108 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.005178, allocations: 7.938 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.005214, allocations: 21.67 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.005317, allocations: 318.8 kB / 0.9535 GB, free: 208 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.005336, allocations: 8.25 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.005359, allocations: 17.72 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.005404, allocations: 29.66 kB / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005406, allocations: 0 / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.75e-05/0.005493, allocations: 61.58 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.00551, allocations: 8 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.005516, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.00553, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.005595, allocations: 11.94 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.005604, allocations: 11.98 kB / 0.9536 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.005628, allocations: 0 / 0.9536 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005633, allocations: 0 / 0.9536 GB, free: 40 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.381e-05/0.005716, allocations: 119.8 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.005757, allocations: 11.91 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.005784, allocations: 11.81 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005786, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.005793, allocations: 7.938 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.005796, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.006155, allocations: 437.9 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006157, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.00618, allocations: 7.938 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006183, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.006188, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.006193, allocations: 4 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006194, allocations: 4 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.096e-05/0.006265, allocations: 73.94 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.006294, allocations: 19.83 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.006307, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.466e-05/0.006322, allocations: 4.094 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.006335, allocations: 4 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006338, allocations: 0 / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.006413, allocations: 122.1 kB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006413, allocations: 0 / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001968/0.00661, allocations: 11.94 kB / 0.9544 GB, free: 15.13 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.0004112/0.007021, allocations: 0.6093 MB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.00711, allocations: 23.92 kB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.007113, allocations: 4.156 kB / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.007121, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.00729, allocations: 11.94 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.008484, allocations: 1.341 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.008549, allocations: 71.33 kB / 0.9564 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.008589, allocations: 12.61 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.008648, allocations: 28.48 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.008649, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.029, allocations: 2.244 MB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.601/6.63, allocations: 4.062 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.728745860047638]