Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001022/0.001022, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001152/0.001152, allocations: 169 kB / 24.28 MB, free: 276 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.09/1.09, allocations: 177.1 MB / 204.6 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.174e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001638/0.00167, allocations: 0.8134 MB / 0.8123 GB, free: 124 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.0018, allocations: 43.77 kB / 0.8124 GB, free: 80 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.001857, allocations: 4.906 kB / 0.8124 GB, free: 76 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.001893, allocations: 11.81 kB / 0.8124 GB, free: 64 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.001973, allocations: 8.594 kB / 0.8124 GB, free: 56 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.246e-05/0.002015, allocations: 19.92 kB / 0.8124 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.002129, allocations: 76.91 kB / 0.8125 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.002256, allocations: 27.92 kB / 0.8125 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.002353, allocations: 43.89 kB / 0.8126 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.002395, allocations: 17.67 kB / 0.8126 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.002416, allocations: 4 kB / 0.8126 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.002424, allocations: 8 kB / 0.8126 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.002444, allocations: 11.92 kB / 0.8126 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.002473, allocations: 23.92 kB / 0.8126 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.002585, allocations: 48.66 kB / 0.8127 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.002588, allocations: 0 / 0.8127 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002589, allocations: 0.6875 kB / 0.8127 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.002593, allocations: 3.938 kB / 0.8127 GB, free: 15.78 MB / 0.7292 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.0004005/0.002994, allocations: 401 kB / 0.8131 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.003034, allocations: 8.031 kB / 0.8131 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.003083, allocations: 21.56 kB / 0.8131 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.003259, allocations: 136.4 kB / 0.8132 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.003271, allocations: 5.062 kB / 0.8132 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.003284, allocations: 9.625 kB / 0.8132 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.003411, allocations: 93.53 kB / 0.8133 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.003418, allocations: 192 / 0.8133 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003428, allocations: 384 / 0.8133 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.003437, allocations: 2.5 kB / 0.8133 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.003483, allocations: 27.92 kB / 0.8133 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.003921, allocations: 462.4 kB / 0.8138 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.003983, allocations: 58.19 kB / 0.8138 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.004015, allocations: 20.28 kB / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.004023, allocations: 0.7188 kB / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.004047, allocations: 37.42 kB / 0.8139 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.004049, allocations: 5.531 kB / 0.8139 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.004204, allocations: 49.58 kB / 0.814 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.004252, allocations: 77.11 kB / 0.814 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.004389, allocations: 195 kB / 0.8142 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.004402, allocations: 25.7 kB / 0.8142 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.004491, allocations: 158.7 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.0045, allocations: 7.953 kB / 0.8144 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.004534, allocations: 21.12 kB / 0.8144 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.00471, allocations: 0.4884 MB / 0.8149 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.00473, allocations: 4 kB / 0.8149 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.004759, allocations: 23.38 kB / 0.8149 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.004806, allocations: 28.36 kB / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.004809, allocations: 5.531 kB / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.275e-05/0.004892, allocations: 41.7 kB / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.004912, allocations: 10.5 kB / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.00492, allocations: 0.5312 kB / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.004937, allocations: 3.938 kB / 0.815 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.005019, allocations: 12.55 kB / 0.815 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.005027, allocations: 8.469 kB / 0.815 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.005048, allocations: 7.891 kB / 0.815 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.005057, allocations: 4.781 kB / 0.815 GB, free: 13.12 MB / 0.7292 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 9.906e-05/0.005156, allocations: 157.5 kB / 0.8152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.005184, allocations: 4.094 kB / 0.8152 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.005223, allocations: 11.45 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005225, allocations: 0.5312 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.005232, allocations: 5.375 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.00524, allocations: 7.938 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.005665, allocations: 0.5421 MB / 0.8157 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.005668, allocations: 1.281 kB / 0.8157 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.005691, allocations: 4 kB / 0.8157 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.005695, allocations: 0 / 0.8157 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.005707, allocations: 8.578 kB / 0.8158 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.005711, allocations: 4 kB / 0.8158 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.005712, allocations: 0.9062 kB / 0.8158 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.893e-05/0.005791, allocations: 84.08 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.005814, allocations: 8.781 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.005828, allocations: 7.938 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.005837, allocations: 1.344 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.005856, allocations: 0 / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.005861, allocations: 8 kB / 0.8159 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.005921, allocations: 139.8 kB / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/0.005921, allocations: 4 kB / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001409/0.006062, allocations: 8.547 kB / 0.816 GB, free: 12.04 MB / 0.7292 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 0.0001039/0.006166, allocations: 97.09 kB / 0.8161 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.006255, allocations: 23.61 kB / 0.8161 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006257, allocations: 0 / 0.8161 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.006269, allocations: 16.56 kB / 0.8161 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.006394, allocations: 7.469 kB / 0.8161 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.006695, allocations: 186.4 kB / 0.8163 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.00673, allocations: 59.34 kB / 0.8164 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.006758, allocations: 4 kB / 0.8164 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.006782, allocations: 8.5 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.006783, allocations: 3.938 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.00206/0.008842, allocations: 352.6 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.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.355567298131064]