Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.00098/0.00098, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001261/0.001261, allocations: 161 kB / 23.81 MB, free: 0.7578 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.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.002/2.002, allocations: 377.9 MB / 0.6236 GB, free: 8.531 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.369e-05, allocations: 3.281 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002338/0.002372, allocations: 0.8254 MB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000161/0.002533, allocations: 39.78 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.0026, allocations: 5.469 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.00265, allocations: 7.875 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.00275, allocations: 7.938 kB / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.589e-05/0.002806, allocations: 23.91 kB / 0.8124 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.002931, allocations: 65.28 kB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.003119, allocations: 27.97 kB / 0.8125 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.003247, allocations: 35.91 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.003311, allocations: 19.92 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.003334, allocations: 5.594 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.003346, allocations: 8 kB / 0.8126 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.003372, allocations: 15.91 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.003413, allocations: 23.92 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003538, allocations: 44.77 kB / 0.8127 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00354, allocations: 4 kB / 0.8127 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003542, allocations: 0 / 0.8127 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.003547, allocations: 0.5312 kB / 0.8127 GB, free: 0.5586 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.0004752/0.004023, allocations: 404.8 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.00407, allocations: 9.062 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.004121, allocations: 16.89 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.004359, allocations: 145 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.004374, allocations: 4.375 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.004394, allocations: 8.906 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.004568, allocations: 93.48 kB / 0.8133 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.004581, allocations: 192 / 0.8133 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.004597, allocations: 8.375 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.004608, allocations: 4.359 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.004683, allocations: 29.02 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.005262, allocations: 458.4 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.005331, allocations: 59.06 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.005371, allocations: 20.41 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.005381, allocations: 4 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.005415, allocations: 41.41 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.005417, allocations: 1.031 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.005602, allocations: 50.44 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.005645, allocations: 77.11 kB / 0.814 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.005787, allocations: 193.8 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.005801, allocations: 25.7 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.005891, allocations: 159.9 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-06/0.005901, allocations: 7.891 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.005944, allocations: 27.36 kB / 0.8144 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.006092, allocations: 0.4883 MB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.006109, allocations: 0.8438 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.006138, allocations: 27.36 kB / 0.8149 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.006186, allocations: 28.22 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006188, allocations: 1.531 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.196e-05/0.00628, allocations: 49.66 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.006299, allocations: 4 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006304, allocations: 1.219 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.006324, allocations: 7.984 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.006397, allocations: 7.938 kB / 0.815 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.006404, allocations: 7.062 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.006432, allocations: 8 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.006437, allocations: 0 / 0.8151 GB, free: 13.89 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 7.895e-05/0.006516, allocations: 152.6 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.006556, allocations: 4 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.006588, allocations: 11.47 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.006592, allocations: 3.984 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.006596, allocations: 0 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0066, allocations: 4.438 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.007016, allocations: 0.544 MB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.007019, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.007044, allocations: 7.984 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.007047, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.007056, allocations: 8.594 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007058, allocations: 0 / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.00706, allocations: 2.5 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.004e-05/0.00715, allocations: 88.03 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.007174, allocations: 7.984 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.007188, allocations: 3.938 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.007209, allocations: 8 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.007225, allocations: 0 / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.007228, allocations: 2.938 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.007296, allocations: 139.2 kB / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007297, allocations: 0 / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002304/0.007527, allocations: 15.89 kB / 0.816 GB, free: 12.81 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 0.0001117/0.007639, allocations: 99.23 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.007735, allocations: 28.5 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007737, allocations: 0 / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.00775, allocations: 12.78 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.007931, allocations: 2.406 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.0004034/0.008334, allocations: 175.7 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.008386, allocations: 59.34 kB / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.008429, allocations: 5.125 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.008497, allocations: 12.5 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of SimCode: time 1.173e-06/0.008498, allocations: 0 / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.003227/0.01172, allocations: 345.4 kB / 0.8167 GB, free: 12.03 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.430328231770545]