Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.0009704/0.0009704, allocations: 73.97 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.001594/0.001594, 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 0.9646/0.9646, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.085/2.085, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.005e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001403/0.001423, allocations: 0.8185 MB / 0.8802 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.001536, allocations: 42.12 kB / 0.8802 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.001586, allocations: 4 kB / 0.8803 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.001618, allocations: 11.86 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.001693, allocations: 11.88 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.84e-05/0.001731, allocations: 15.98 kB / 0.8803 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.001823, allocations: 67.77 kB / 0.8804 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.001923, allocations: 28.91 kB / 0.8804 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.002009, allocations: 43.84 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.223e-05/0.002041, allocations: 9.109 kB / 0.8804 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002056, allocations: 4 kB / 0.8804 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-06/0.002062, allocations: 7.938 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.002081, allocations: 21.56 kB / 0.8805 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.002101, allocations: 15.94 kB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.599e-05/0.002177, allocations: 43.7 kB / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.002179, allocations: 0 / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00218, allocations: 5.969 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.002185, allocations: 0 / 0.8805 GB, free: 4.898 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.0003128/0.002498, allocations: 404.2 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.002531, allocations: 12.03 kB / 0.8809 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.00256, allocations: 16.89 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.00268, allocations: 143 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.00269, allocations: 4.375 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.002698, allocations: 12.31 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.002789, allocations: 81.59 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002797, allocations: 192 / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.002805, allocations: 8.359 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.002811, allocations: 4.375 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.002842, allocations: 24.58 kB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.003244, allocations: 0.7201 MB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.545e-05/0.003329, allocations: 273.4 kB / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.003362, allocations: 126.9 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.003389, allocations: 119.2 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.003431, allocations: 157.9 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.003432, allocations: 96 / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.099e-05/0.003483, allocations: 37.59 kB / 0.8826 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.003539, allocations: 174.6 kB / 0.8828 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.003643, allocations: 203.3 kB / 0.883 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.003651, allocations: 29.7 kB / 0.883 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.003722, allocations: 174.5 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.003724, allocations: 0 / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.00375, allocations: 31.33 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.003881, allocations: 0.4884 MB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.003887, allocations: 4 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.003922, allocations: 81.36 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.003978, allocations: 89.42 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.003979, allocations: 0 / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.561e-05/0.004075, allocations: 81.72 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.00409, allocations: 8.031 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.004095, allocations: 4 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.004104, allocations: 0 / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.004149, allocations: 19.92 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.004153, allocations: 4 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.004177, allocations: 11.89 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.004216, allocations: 4 kB / 0.8839 GB, free: 1.105 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.087e-05/0.004296, allocations: 283.7 kB / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.004344, allocations: 152.8 kB / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.00439, allocations: 156.7 kB / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-05/0.004451, allocations: 276 kB / 0.8848 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000144/0.004595, allocations: 264.1 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/0.004656, allocations: 272 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.004827, allocations: 0.4965 MB / 0.8858 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.004859, allocations: 144.9 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.00489, allocations: 148.8 kB / 0.8861 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.183e-05/0.004942, allocations: 268.1 kB / 0.8863 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.004997, allocations: 264.1 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001971/0.005194, allocations: 272 kB / 0.8868 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-05/0.005246, allocations: 272.1 kB / 0.8871 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.005357, allocations: 455.9 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.0054, allocations: 152.8 kB / 0.8877 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.005462, allocations: 276 kB / 0.8879 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.005514, allocations: 144.9 kB / 0.8881 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.00557, allocations: 268.3 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.005601, allocations: 148.9 kB / 0.8885 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.005648, allocations: 149.2 kB / 0.8886 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005649, allocations: 0 / 0.8886 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001437/0.005792, allocations: 4 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 8.752e-05/0.00588, allocations: 214.4 kB / 0.8888 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.005946, allocations: 47.52 kB / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005947, allocations: 0 / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.005948, allocations: 3.938 kB / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.006222, allocations: 0.7046 MB / 0.8895 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.006428, allocations: 269.7 kB / 0.8898 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.00646, allocations: 59.34 kB / 0.8899 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.006496, allocations: 13.22 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.00653, allocations: 78.19 kB / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.006531, allocations: 0 / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.002187/0.008717, allocations: 342.4 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.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.24443834181875]