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.001001/0.001001, 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.001522/0.001522, 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.9611/0.9611, allocations: 177.2 MB / 204.2 MB, free: 5.633 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 1.909/1.909, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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 2.334e-06/2.334e-06, allocations: 4 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.9e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001301/0.00132, allocations: 0.829 MB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.001429, allocations: 37.41 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.001474, allocations: 7.938 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.001509, allocations: 9.516 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.00158, allocations: 7.875 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.229e-05/0.001623, allocations: 23.97 kB / 0.8124 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.152e-05/0.001714, allocations: 63.78 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.001828, allocations: 27.97 kB / 0.8125 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.001907, allocations: 36.56 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.001942, allocations: 25.06 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.001961, allocations: 4 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-06/0.001968, allocations: 8 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.001987, allocations: 13.23 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.002013, allocations: 19.92 kB / 0.8126 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.002097, allocations: 47.77 kB / 0.8127 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.002098, allocations: 1.906 kB / 0.8127 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002099, allocations: 3.938 kB / 0.8127 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002103, allocations: 0 / 0.8127 GB, free: 0.5703 MB / 0.7605 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.0003385/0.002441, allocations: 412.3 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.002475, allocations: 8.031 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.002511, allocations: 14.45 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.002663, allocations: 132.5 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.002675, allocations: 8.375 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.00269, allocations: 8.375 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.002806, allocations: 93.45 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.002816, allocations: 192 / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.002827, allocations: 4.375 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.002834, allocations: 384 / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.002882, allocations: 37.78 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.003247, allocations: 462.4 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.003295, allocations: 54.19 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.003326, allocations: 29.62 kB / 0.8139 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.003332, allocations: 0 / 0.8139 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.003352, allocations: 33.39 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003353, allocations: 0 / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001282/0.003481, allocations: 54.11 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.003513, allocations: 77.83 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.003607, allocations: 189.8 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.003615, allocations: 26.23 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.003674, allocations: 160.2 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.003687, allocations: 15.89 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.00371, allocations: 15.38 kB / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.003819, allocations: 0.4884 MB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.003831, allocations: 3.984 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.003847, allocations: 23.91 kB / 0.8149 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.003879, allocations: 28.62 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.003881, allocations: 0 / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.473e-05/0.003935, allocations: 58.73 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.003948, allocations: 8 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.003952, allocations: 1.375 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.003967, allocations: 0 / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.004014, allocations: 4 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.004021, allocations: 7.938 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.004035, allocations: 1 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-06/0.004038, allocations: 0 / 0.815 GB, free: 13.91 MB / 0.7761 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.031e-05/0.004098, allocations: 165.2 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.00412, allocations: 5.031 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.00414, allocations: 3.469 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004142, allocations: 0 / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.004145, allocations: 0.8438 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.00415, allocations: 16.02 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.004399, allocations: 0.5475 MB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0044, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.00441, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.004411, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.004418, allocations: 4.938 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004418, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.00442, allocations: 10 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.57e-05/0.004475, allocations: 88.08 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.004487, allocations: 0 / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.004497, allocations: 7.938 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.004505, allocations: 0 / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.004518, allocations: 6.266 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.004519, allocations: 0 / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.004565, allocations: 141.9 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004565, allocations: 3.938 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001261/0.004691, allocations: 15.89 kB / 0.816 GB, free: 12.82 MB / 0.7761 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 6.51e-05/0.004756, allocations: 99.75 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.004827, allocations: 24.14 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.004828, allocations: 1.344 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-06/0.004837, allocations: 11.69 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.004943, allocations: 14.33 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.005188, allocations: 163.3 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.005221, allocations: 64 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.005242, allocations: 4.641 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.005265, allocations: 15.84 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.005265, allocations: 0 / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.001877/0.007143, allocations: 336.6 kB / 0.8167 GB, free: 12.05 MB / 0.7761 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.251560728996992]