Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001414/0.001414, allocations: 73.88 kB / 20.65 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.00151/0.00151, allocations: 169 kB / 24.06 MB, free: 452 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.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.149/2.149, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.178e-05, allocations: 7.719 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001447/0.001469, allocations: 0.8212 MB / 0.8802 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.00158, allocations: 44.62 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.00163, allocations: 1.094 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.001663, allocations: 11.86 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.001734, allocations: 11.94 kB / 0.8803 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.838e-05/0.001772, allocations: 12.55 kB / 0.8803 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.00186, allocations: 67.72 kB / 0.8804 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.001963, allocations: 32.62 kB / 0.8804 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.002043, allocations: 40.95 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.636e-05/0.00208, allocations: 19.91 kB / 0.8804 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.002094, allocations: 4 kB / 0.8804 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-06/0.0021, allocations: 5.125 kB / 0.8804 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.00212, allocations: 15.94 kB / 0.8805 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.002141, allocations: 15.92 kB / 0.8805 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.858e-05/0.002219, allocations: 36.88 kB / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002222, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002222, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002227, allocations: 5 kB / 0.8805 GB, free: 4.883 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.0003096/0.002536, allocations: 416.2 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.002573, allocations: 9.125 kB / 0.8809 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.002602, allocations: 16.89 kB / 0.8809 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.002724, allocations: 136.4 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002734, allocations: 9.469 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.002742, allocations: 8.312 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.002835, allocations: 88.03 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.002843, allocations: 0.9062 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.002853, allocations: 8.375 kB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.002858, allocations: 3.656 kB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.002886, allocations: 23.91 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.003319, allocations: 0.7186 MB / 0.8819 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.003404, allocations: 277.4 kB / 0.8822 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.003434, allocations: 126.9 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.00346, allocations: 119.2 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.003503, allocations: 152.6 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.003505, allocations: 0 / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.165e-05/0.003566, allocations: 38.84 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.003624, allocations: 174.6 kB / 0.8828 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.003727, allocations: 204 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.003734, allocations: 27.27 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.003809, allocations: 178.5 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.003813, allocations: 3.984 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.003845, allocations: 27.33 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.003972, allocations: 0.4895 MB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.003984, allocations: 7.984 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.004025, allocations: 73.48 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.781e-05/0.004093, allocations: 94.89 kB / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.004096, allocations: 0 / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.0042, allocations: 77.5 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.004214, allocations: 8 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004219, allocations: 256 / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.004229, allocations: 8 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.004273, allocations: 12 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.004279, allocations: 11.92 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.004305, allocations: 11.88 kB / 0.8839 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.004311, allocations: 8 kB / 0.884 GB, free: 1.082 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.474e-05/0.004396, allocations: 283.7 kB / 0.8842 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.004448, allocations: 152.8 kB / 0.8844 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.004495, allocations: 156.6 kB / 0.8845 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/0.004555, allocations: 268.1 kB / 0.8848 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/0.004625, allocations: 272 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-05/0.004687, allocations: 280 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.004864, allocations: 496.5 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.004899, allocations: 148.8 kB / 0.8859 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.004936, allocations: 148.9 kB / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.905e-05/0.004995, allocations: 272 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.005055, allocations: 264.1 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.37e-05/0.005118, allocations: 268.1 kB / 0.8868 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.976e-05/0.005178, allocations: 268 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.00531, allocations: 459.8 kB / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.005357, allocations: 152.8 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.00543, allocations: 272 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.005483, allocations: 144.9 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.005545, allocations: 272.4 kB / 0.8883 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.005576, allocations: 148.8 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.005628, allocations: 144.7 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005628, allocations: 0 / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001558/0.005784, allocations: 8 kB / 0.8886 GB, free: 12.12 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.752e-05/0.005881, allocations: 210.4 kB / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/0.005955, allocations: 43.83 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.005957, allocations: 4 kB / 0.8889 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.005959, allocations: 0 / 0.8889 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.006241, allocations: 0.7061 MB / 0.8895 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.00648, allocations: 277.6 kB / 0.8898 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.006512, allocations: 55.36 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.006547, allocations: 12.97 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.006578, allocations: 70.2 kB / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.006578, allocations: 0 / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.001689/0.008267, allocations: 342.8 kB / 0.8903 GB, free: 10.35 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.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.366660010069609]