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.0009292/0.0009292, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001217/0.001217, allocations: 181 kB / 23.36 MB, free: 1.133 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.424/2.424, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.783e-06/1.783e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.957e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001829/0.001848, allocations: 0.8024 MB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.002008, allocations: 47.72 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.00206, allocations: 3.938 kB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.002101, allocations: 11.86 kB / 0.8394 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.002193, allocations: 15.88 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.093e-05/0.002244, allocations: 15.98 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.002355, allocations: 63.83 kB / 0.8395 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.002469, allocations: 35.95 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.002579, allocations: 43.83 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.00262, allocations: 15.92 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.002641, allocations: 4 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.002651, allocations: 4 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.002674, allocations: 19.92 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.0027, allocations: 15.92 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/0.002796, allocations: 47.7 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002798, allocations: 0 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.92e-07/0.002799, allocations: 0 / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.002802, allocations: 4 kB / 0.8397 GB, free: 13 MB / 0.8073 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.0003403/0.003142, allocations: 276.6 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.003184, allocations: 12.62 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.003218, allocations: 12.92 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.003369, allocations: 133.7 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.003381, allocations: 4.375 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.003397, allocations: 12.38 kB / 0.8401 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.00351, allocations: 81.97 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.003519, allocations: 4.125 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.003529, allocations: 8.375 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.003536, allocations: 4.375 kB / 0.8402 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.003576, allocations: 27.86 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.003996, allocations: 0.4972 MB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.004072, allocations: 165.1 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.004099, allocations: 84.14 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.004124, allocations: 83.27 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.004162, allocations: 105.8 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.004163, allocations: 0 / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.888e-05/0.004222, allocations: 33.73 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.004287, allocations: 130.7 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.004394, allocations: 144.5 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.004405, allocations: 29.69 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.004466, allocations: 127.8 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.004468, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.004502, allocations: 21.67 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.004594, allocations: 330.8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.004602, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.004639, allocations: 50.86 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.00471, allocations: 70.73 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.004714, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.004823, allocations: 73.73 kB / 0.8421 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004835, allocations: 8 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.004841, allocations: 4 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.004853, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.00491, allocations: 19.92 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.004916, allocations: 8.141 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.004953, allocations: 7.938 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.004958, allocations: 4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 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.279e-05/0.005041, allocations: 197 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.005094, allocations: 108.9 kB / 0.8425 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.005138, allocations: 112.8 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.005188, allocations: 180.3 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.947e-05/0.005237, allocations: 184.2 kB / 0.8429 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-05/0.005285, allocations: 184.2 kB / 0.8431 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.00547, allocations: 341.3 kB / 0.8434 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.0055, allocations: 101 kB / 0.8435 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.005527, allocations: 101 kB / 0.8436 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.338e-05/0.00558, allocations: 184.2 kB / 0.8438 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.005629, allocations: 176.3 kB / 0.844 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.996e-05/0.005679, allocations: 180.2 kB / 0.8442 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.885e-05/0.005728, allocations: 184.5 kB / 0.8443 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.00584, allocations: 319.7 kB / 0.8446 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.005889, allocations: 112.9 kB / 0.8447 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.005943, allocations: 184.2 kB / 0.8449 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.006013, allocations: 105 kB / 0.845 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.006066, allocations: 184.2 kB / 0.8452 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.006097, allocations: 105 kB / 0.8453 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.006128, allocations: 28.83 kB / 0.8453 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006129, allocations: 0 / 0.8453 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002435/0.006372, allocations: 11.95 kB / 0.8453 GB, free: 6.84 MB / 0.8073 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.808e-05/0.00647, allocations: 151.7 kB / 0.8455 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.006535, allocations: 36.77 kB / 0.8455 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.006539, allocations: 0 / 0.8455 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.006543, allocations: 3.938 kB / 0.8455 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.00681, allocations: 461.2 kB / 0.846 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.007053, allocations: 224 kB / 0.8462 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.007092, allocations: 59.34 kB / 0.8462 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.007128, allocations: 9.234 kB / 0.8462 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.007163, allocations: 59.36 kB / 0.8463 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of SimCode: time 4.2e-07/0.007163, allocations: 0 / 0.8463 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of Templates: time 0.002038/0.009202, allocations: 331.7 kB / 0.8466 GB, free: 5.473 MB / 0.8073 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.184437079355121]