Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001927/0.001927, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.122/2.122, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.843e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.004669/0.004687, allocations: 0.8305 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.004817, allocations: 46.47 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.004868, allocations: 0 / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.004914, allocations: 11.86 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.004999, allocations: 3.938 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.975e-05/0.005049, allocations: 19.98 kB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.005166, allocations: 67.77 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005293, allocations: 32.84 kB / 0.8792 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.005382, allocations: 39.91 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.005423, allocations: 17.5 kB / 0.8792 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.005442, allocations: 4 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.005451, allocations: 8 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.005472, allocations: 15.92 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.005503, allocations: 19.92 kB / 0.8793 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.005603, allocations: 53.27 kB / 0.8793 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005606, allocations: 3.984 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005607, allocations: 0 / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.005611, allocations: 0 / 0.8793 GB, free: 5.188 MB / 0.8386 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.0003966/0.006008, allocations: 407.3 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.006051, allocations: 8.031 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.006095, allocations: 16.89 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.006269, allocations: 136.4 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.006283, allocations: 8.375 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.006298, allocations: 4.375 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.006434, allocations: 88.25 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006445, allocations: 4.906 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.006457, allocations: 4.375 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.006467, allocations: 2.031 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.006521, allocations: 31.86 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.00696, allocations: 458.4 kB / 0.8804 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.007014, allocations: 55.62 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.007046, allocations: 23.38 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/0.01006, allocations: 4 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01009, allocations: 37.39 kB / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.01009, allocations: 0 / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.01026, allocations: 45.62 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.0103, allocations: 77.11 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.01043, allocations: 193.8 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.01045, allocations: 25.7 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.01053, allocations: 158.6 kB / 0.881 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.01054, allocations: 3.953 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.01057, allocations: 23.38 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.01072, allocations: 0.4964 MB / 0.8815 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.01074, allocations: 3.938 kB / 0.8815 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.01076, allocations: 23.38 kB / 0.8816 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.01079, allocations: 23.38 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.0108, allocations: 0 / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.719e-05/0.01087, allocations: 61.52 kB / 0.8816 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01089, allocations: 8 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.0109, allocations: 96 / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01091, allocations: 8.047 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.01097, allocations: 4 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01097, allocations: 7.922 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.011, allocations: 7.938 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.011, allocations: 0 / 0.8817 GB, free: 2.52 MB / 0.8386 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 6.932e-05/0.01107, allocations: 156.6 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.01111, allocations: 11.89 kB / 0.8818 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.01114, allocations: 7.469 kB / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01114, allocations: 0 / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01114, allocations: 0 / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01115, allocations: 7.938 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.01148, allocations: 0.5461 MB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01148, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/0.0115, allocations: 4 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.0115, allocations: 4 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.01151, allocations: 3.938 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01151, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01151, allocations: 7.984 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.467e-05/0.01157, allocations: 80.09 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.01159, allocations: 7.953 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01161, allocations: 16.02 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.01162, allocations: 0 / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.01163, allocations: 3.938 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.01163, allocations: 0 / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.01169, allocations: 146.7 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01169, allocations: 0 / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001846/0.01187, allocations: 8 kB / 0.8827 GB, free: 1.43 MB / 0.8386 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 8.087e-05/0.01195, allocations: 95.25 kB / 0.8827 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.01203, allocations: 27.67 kB / 0.8828 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01204, allocations: 0 / 0.8828 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.01205, allocations: 15.62 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.01219, allocations: 4 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.01247, allocations: 174.6 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.0125, allocations: 60.33 kB / 0.883 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.01253, allocations: 7.984 kB / 0.883 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.01256, allocations: 12.5 kB / 0.883 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.01256, allocations: 256 / 0.883 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of Templates: time 0.005152/0.01771, allocations: 355.5 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.550966755952686]