Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001038/0.001038, allocations: 73.88 kB / 20.66 MB, free: 3.836 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.001778/0.001778, allocations: 173 kB / 24.06 MB, free: 444 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.103/2.103, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.038e-05, allocations: 6.219 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0025/0.002531, allocations: 0.8214 MB / 0.8802 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.002678, allocations: 39.78 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.002744, allocations: 4 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.002784, allocations: 7.875 kB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.002883, allocations: 11.88 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.552e-05/0.002939, allocations: 19.97 kB / 0.8803 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.00313, allocations: 68.7 kB / 0.8804 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003248, allocations: 23.98 kB / 0.8804 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.003349, allocations: 48.86 kB / 0.8804 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.003386, allocations: 15.92 kB / 0.8804 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003401, allocations: 4 kB / 0.8804 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.003409, allocations: 9.125 kB / 0.8805 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.003428, allocations: 11.92 kB / 0.8805 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.003452, allocations: 23.92 kB / 0.8805 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.00357, allocations: 44.83 kB / 0.8805 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.003573, allocations: 0 / 0.8805 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003574, allocations: 0 / 0.8805 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.003577, allocations: 3.531 kB / 0.8805 GB, free: 4.871 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.0003324/0.00391, allocations: 412.2 kB / 0.8809 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.003943, allocations: 12.02 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.003973, allocations: 12.89 kB / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004125, allocations: 136.4 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.00414, allocations: 8.375 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004151, allocations: 4.375 kB / 0.8811 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.506e-05/0.004246, allocations: 84.09 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.004253, allocations: 0.8125 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.004261, allocations: 4.375 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.004267, allocations: 4.969 kB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.004296, allocations: 23.86 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.0047, allocations: 0.727 MB / 0.8819 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/0.004781, allocations: 266.5 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.004815, allocations: 130.8 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.004841, allocations: 124.7 kB / 0.8824 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.0049, allocations: 152.6 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.004901, allocations: 0 / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.352e-05/0.004954, allocations: 33.66 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.005016, allocations: 171.6 kB / 0.8828 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.005122, allocations: 212 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.005129, allocations: 26.45 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.005202, allocations: 170.5 kB / 0.8831 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.005204, allocations: 4 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.005232, allocations: 35.31 kB / 0.8832 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.00534, allocations: 0.4884 MB / 0.8837 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.005346, allocations: 3.938 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.005385, allocations: 77.47 kB / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.005446, allocations: 93.36 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005449, allocations: 4 kB / 0.8838 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001003/0.005549, allocations: 77.5 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.005566, allocations: 15.92 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.005571, allocations: 0 / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.005584, allocations: 4 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.005635, allocations: 12.25 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.005639, allocations: 4 kB / 0.8839 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.005664, allocations: 11.89 kB / 0.884 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.005671, allocations: 8 kB / 0.884 GB, free: 1.078 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 0.0001143/0.005786, allocations: 287.6 kB / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.005845, allocations: 156.8 kB / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.005897, allocations: 148.7 kB / 0.8845 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-05/0.005969, allocations: 272 kB / 0.8848 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.54e-05/0.006055, allocations: 268.1 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004321/0.006487, allocations: 280 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.006669, allocations: 492.5 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.006705, allocations: 148.9 kB / 0.8859 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.006744, allocations: 148.8 kB / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.979e-05/0.006814, allocations: 268.1 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.006875, allocations: 268 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-05/0.006935, allocations: 268.1 kB / 0.8868 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-05/0.006995, allocations: 276 kB / 0.8871 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.007122, allocations: 447.9 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.007172, allocations: 160.8 kB / 0.8877 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.007237, allocations: 268.1 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.007292, allocations: 148.8 kB / 0.8881 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.007353, allocations: 272.4 kB / 0.8883 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.007386, allocations: 148.9 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.007437, allocations: 141 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007437, allocations: 0 / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001493/0.007586, 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 0.0001114/0.007697, allocations: 214.4 kB / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.007776, allocations: 43.56 kB / 0.8889 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.007778, allocations: 0.5 kB / 0.8889 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.007779, allocations: 4 kB / 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.0002808/0.00806, allocations: 0.7062 MB / 0.8896 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.008273, allocations: 265.7 kB / 0.8898 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.008305, allocations: 63.28 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.008339, allocations: 12.7 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.00837, allocations: 74.2 kB / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.008371, allocations: 4 kB / 0.89 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of Templates: time 0.001871/0.01024, allocations: 341.9 kB / 0.8903 GB, free: 10.34 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.356390161905438]