Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.0009644/0.0009644, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009697/0.0009697, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9916/0.9916, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.868/1.868, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.657e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001585/0.001612, allocations: 0.8191 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001214/0.001733, allocations: 41.06 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.00178, allocations: 0 / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.001816, allocations: 7.875 kB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.001901, allocations: 16.7 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.216e-05/0.001943, allocations: 19.98 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.469e-05/0.002038, allocations: 64.39 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.002155, allocations: 27.98 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.002225, allocations: 36.59 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.002277, allocations: 24.8 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.002295, allocations: 4 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.002304, allocations: 8 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.002321, allocations: 12.59 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.002348, allocations: 25.56 kB / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.302e-05/0.002431, allocations: 43.77 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002433, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002433, allocations: 4 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002437, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 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.0003487/0.002786, allocations: 409.6 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.002822, allocations: 15.95 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.002857, allocations: 12.89 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.003, allocations: 134.1 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.00301, allocations: 4.375 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.003025, allocations: 8.375 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.003135, allocations: 85.55 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.003144, allocations: 3.625 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.003159, allocations: 8.375 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.003168, allocations: 4.375 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.003215, allocations: 31.86 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.003601, allocations: 458.4 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.00365, allocations: 54.12 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.003679, allocations: 27.48 kB / 0.7894 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.003689, allocations: 8.75 kB / 0.7894 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.003707, allocations: 33.39 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003708, allocations: 0.625 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.003839, allocations: 50.91 kB / 0.7895 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.003875, allocations: 77.11 kB / 0.7896 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.003991, allocations: 194 kB / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.004, allocations: 29.64 kB / 0.7898 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.00407, allocations: 154.7 kB / 0.7899 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.004079, allocations: 8.422 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.004107, allocations: 28.73 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.00424, allocations: 0.4884 MB / 0.7905 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.004251, allocations: 0 / 0.7905 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.004275, allocations: 23.36 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.004314, allocations: 32.59 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.004316, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.963e-05/0.004376, allocations: 51.06 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.004391, allocations: 7.938 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.004396, allocations: 1 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.004413, allocations: 4 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.00447, allocations: 4 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.004477, allocations: 4.875 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.004493, allocations: 7.953 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.004497, allocations: 3.094 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.376e-05/0.004561, allocations: 152.6 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.004585, allocations: 8 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.004612, allocations: 11.45 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.004613, allocations: 0 / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.004617, allocations: 0 / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.004621, allocations: 3.938 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.004896, allocations: 0.5513 MB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.004897, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.004908, allocations: 7.984 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.004911, allocations: 0.625 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.004918, allocations: 3.938 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004919, allocations: 0.5625 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00492, allocations: 0 / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.364e-05/0.004984, allocations: 89 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.004999, allocations: 8.953 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.005009, allocations: 3.938 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.005018, allocations: 4 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.005033, allocations: 5.062 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.005034, allocations: 0 / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.005087, allocations: 143.1 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005087, allocations: 1.531 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001212/0.005209, allocations: 15.89 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.017e-05/0.005279, allocations: 99.77 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.005347, allocations: 24.44 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.005348, allocations: 0 / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.005356, allocations: 12.62 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.005465, allocations: 7.094 kB / 0.7917 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.005717, allocations: 178.5 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.005752, allocations: 59.34 kB / 0.7919 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.005776, allocations: 4.844 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.005799, allocations: 14.72 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.005799, allocations: 0 / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of Templates: time 0.001812/0.007611, allocations: 348.1 kB / 0.7923 GB, free: 6.824 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.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.318996610119939]