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.002379/0.002379, allocations: 85.48 kB / 19.44 MB, free: 344 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.003042/0.003042, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 178] 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 3.499/3.499, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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.704e-06/1.704e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.063e-05, allocations: 3.406 kB / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002244/0.002274, allocations: 0.8082 MB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.002419, allocations: 41.78 kB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.002476, allocations: 0 / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.002515, allocations: 7.875 kB / 0.8783 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.00262, allocations: 19.33 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.831e-05/0.002679, allocations: 19.98 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.002837, allocations: 63.94 kB / 0.8784 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.002989, allocations: 36.56 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.003106, allocations: 36.56 kB / 0.8785 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.003166, allocations: 21.41 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.00319, allocations: 8 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.003201, allocations: 4 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.003228, allocations: 15.92 kB / 0.8785 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.003278, allocations: 21.27 kB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.003421, allocations: 67.77 kB / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003424, allocations: 0 / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003424, allocations: 0 / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003429, allocations: 3.219 kB / 0.8786 GB, free: 5.527 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.0005975/0.004026, allocations: 415.9 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.004066, allocations: 8.031 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.004124, allocations: 16.89 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.004358, allocations: 136.4 kB / 0.8791 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.004378, allocations: 8.375 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.004391, allocations: 4.375 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.004592, allocations: 104 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.00461, allocations: 8.75 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.004621, allocations: 2.031 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.004628, allocations: 4.375 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.004735, allocations: 39.92 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.005417, allocations: 478.3 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.005508, allocations: 55.47 kB / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.005554, allocations: 23.5 kB / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.005566, allocations: 8 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.005602, allocations: 37.42 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.005602, allocations: 0 / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.005822, allocations: 53.62 kB / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.005891, allocations: 81.11 kB / 0.88 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.00609, allocations: 197.2 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.006111, allocations: 25.7 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.006246, allocations: 162.7 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.006256, allocations: 3.953 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.006303, allocations: 23.62 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003223/0.006625, allocations: 0.4923 MB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.00666, allocations: 8 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.006695, allocations: 19.38 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.006758, allocations: 35.31 kB / 0.8809 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.00676, allocations: 0 / 0.8809 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.737e-05/0.006857, allocations: 57.64 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.006874, allocations: 4 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.006882, allocations: 0 / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.006899, allocations: 4.062 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.006969, allocations: 15.88 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.006979, allocations: 3.938 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.007008, allocations: 7.938 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.007016, allocations: 4 kB / 0.881 GB, free: 2.773 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 0.0001274/0.007143, allocations: 164.6 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.007188, allocations: 11.95 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.007215, allocations: 3.469 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.007216, allocations: 0 / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007222, allocations: 0 / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.007227, allocations: 11.94 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.007782, allocations: 0.5539 MB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007783, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.007801, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007802, allocations: 4 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.007812, allocations: 3.938 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007814, allocations: 0 / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007814, allocations: 0 / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.007936, allocations: 100 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.007957, allocations: 8.047 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.007975, allocations: 7.938 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.007993, allocations: 0 / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.008016, allocations: 3.984 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.008018, allocations: 0 / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00011/0.008128, allocations: 151.2 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008128, allocations: 0 / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001857/0.008314, allocations: 8 kB / 0.882 GB, free: 1.66 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 0.0001393/0.008453, allocations: 91.25 kB / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.008583, allocations: 35.61 kB / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008585, allocations: 0 / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.008609, allocations: 15.69 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.008768, allocations: 8.625 kB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.009169, allocations: 178.5 kB / 0.8823 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.666e-05/0.009265, allocations: 83.17 kB / 0.8824 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.009298, allocations: 8.328 kB / 0.8824 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.009332, allocations: 12.5 kB / 0.8824 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.009332, allocations: 0 / 0.8824 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of Templates: time 0.003181/0.01251, allocations: 346.8 kB / 0.8828 GB, free: 0.8203 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 8.576760219060816]