Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001461/0.001461, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.00101/0.00101, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.199/2.199, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.609e-05, allocations: 10.25 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001271/0.001287, allocations: 0.8237 MB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.001394, allocations: 44.66 kB / 0.8802 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.001434, allocations: 0 / 0.8802 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.001461, allocations: 7.875 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.001521, allocations: 17.47 kB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.729e-05/0.001558, allocations: 19.97 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.001638, allocations: 59.84 kB / 0.8803 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.001726, allocations: 27.97 kB / 0.8804 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.0018, allocations: 40.84 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.001834, allocations: 19.92 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.001847, allocations: 5.062 kB / 0.8804 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-06/0.001853, allocations: 4 kB / 0.8804 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.001871, allocations: 19.91 kB / 0.8805 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.00189, allocations: 13.06 kB / 0.8805 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.027e-05/0.00196, allocations: 47.77 kB / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.001962, allocations: 0 / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.61e-07/0.001962, allocations: 1.125 kB / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.001965, allocations: 0 / 0.8805 GB, free: 4.895 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.0002855/0.002251, allocations: 416.2 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.00228, allocations: 8.906 kB / 0.8809 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.002305, allocations: 12.89 kB / 0.8809 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.002414, allocations: 142.1 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.002423, allocations: 4.375 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.002432, allocations: 8.375 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.002513, allocations: 84.03 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.00252, allocations: 0.6875 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.002528, allocations: 8.375 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.002533, allocations: 2.219 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.002561, allocations: 23.86 kB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.002919, allocations: 0.7263 MB / 0.8819 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.002996, allocations: 273.4 kB / 0.8822 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.003028, allocations: 128.2 kB / 0.8823 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.003054, allocations: 123.1 kB / 0.8824 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.003094, allocations: 152.6 kB / 0.8826 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.003094, allocations: 1.094 kB / 0.8826 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.778e-05/0.003142, allocations: 37.69 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.003198, allocations: 174.6 kB / 0.8828 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.003295, allocations: 208.8 kB / 0.883 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.003302, allocations: 25.7 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.003367, allocations: 176.1 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.003369, allocations: 0 / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.003396, allocations: 31.31 kB / 0.8832 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.003506, allocations: 0.4884 MB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.003513, allocations: 6.562 kB / 0.8837 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.003553, allocations: 77.47 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.003611, allocations: 87.34 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.003613, allocations: 0 / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.469e-05/0.003708, allocations: 82.7 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.00372, allocations: 9.031 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.003723, allocations: 0 / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.003732, allocations: 4.25 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.003773, allocations: 19.94 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.003777, allocations: 4 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.0038, allocations: 7.891 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.003804, allocations: 4 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.313e-05/0.003887, allocations: 287.7 kB / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.003935, allocations: 156.8 kB / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.003978, allocations: 152.7 kB / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/0.004034, allocations: 268.1 kB / 0.8848 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.079e-05/0.004105, allocations: 272 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/0.004162, allocations: 276 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.004327, allocations: 0.4887 MB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/0.004357, allocations: 144.9 kB / 0.8859 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.00439, allocations: 152.9 kB / 0.8861 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.676e-05/0.004447, allocations: 268 kB / 0.8863 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.004502, allocations: 268.1 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.354e-05/0.004555, allocations: 276 kB / 0.8868 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-05/0.004612, allocations: 264.1 kB / 0.8871 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.004727, allocations: 455.8 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.00477, allocations: 160.8 kB / 0.8877 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.004829, allocations: 268 kB / 0.8879 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.004882, allocations: 152.9 kB / 0.8881 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.004943, allocations: 272.3 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.004977, allocations: 144.9 kB / 0.8885 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.005027, allocations: 143.1 kB / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005027, allocations: 0 / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001623/0.00519, allocations: 8 kB / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.479e-05/0.005284, allocations: 214.4 kB / 0.8888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.005352, allocations: 40.02 kB / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005353, allocations: 64 / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.005355, allocations: 7.938 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.005626, allocations: 0.7062 MB / 0.8895 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.005819, allocations: 269.7 kB / 0.8898 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.005848, allocations: 59.34 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.005875, allocations: 8.719 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.005903, allocations: 74.2 kB / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.005904, allocations: 0 / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.001583/0.007487, allocations: 342.8 kB / 0.8903 GB, free: 10.36 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.482308259233832]