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.001515/0.001515, 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.001623/0.001623, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9733/0.9733, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.922/1.922, 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_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 2.265e-06/2.265e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.916e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002107/0.002137, allocations: 0.8256 MB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.002285, allocations: 35.84 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.002339, allocations: 9.531 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.002387, allocations: 7.875 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.168e-05/0.002478, allocations: 15.86 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.071e-05/0.002529, allocations: 15.98 kB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.002645, allocations: 59.84 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.002783, allocations: 32.44 kB / 0.8125 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.002903, allocations: 53.14 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.002946, allocations: 15.91 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.002972, allocations: 8 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-06/0.00298, allocations: 4.531 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.003001, allocations: 13.31 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.003036, allocations: 23.91 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003144, allocations: 35.84 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.003147, allocations: 0 / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.143e-06/0.003148, allocations: 1.156 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.003155, allocations: 3.984 kB / 0.8127 GB, free: 0.5742 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.000513/0.003668, allocations: 408.2 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.003718, allocations: 9.375 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.003778, allocations: 16.89 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.003998, allocations: 140.4 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.004015, allocations: 9.688 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.004031, allocations: 4.375 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.004225, allocations: 89.52 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004234, allocations: 192 / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.004249, allocations: 5 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.00426, allocations: 6.172 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.004333, allocations: 31.86 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.004957, allocations: 0.7452 MB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.005053, allocations: 265.6 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.005091, allocations: 137.4 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.005121, allocations: 119.2 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.005171, allocations: 156.6 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.005172, allocations: 0 / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.775e-05/0.00523, allocations: 33.66 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.005294, allocations: 174.5 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.005425, allocations: 200 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.005433, allocations: 26.2 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.005515, allocations: 179 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.005517, allocations: 1.938 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.005548, allocations: 35.3 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.005673, allocations: 496.1 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.005689, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.005737, allocations: 81.47 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.00581, allocations: 87.97 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.005813, allocations: 0.5312 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001319/0.005945, allocations: 91.06 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005959, allocations: 8.781 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005965, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.005979, allocations: 5.281 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.006046, allocations: 12 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.006055, allocations: 7.922 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.006079, allocations: 12.8 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.006088, allocations: 4 kB / 0.8161 GB, free: 12.75 MB / 0.7761 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 0.0001088/0.006196, allocations: 284.9 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.006249, allocations: 148.9 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.006308, allocations: 160.6 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.451e-05/0.006373, allocations: 273.2 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-05/0.006449, allocations: 268 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/0.006519, allocations: 280 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.006696, allocations: 0.5086 MB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-05/0.006737, allocations: 148.8 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.006774, allocations: 144.9 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.919e-05/0.006843, allocations: 269.2 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.006908, allocations: 272 kB / 0.8188 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.919e-05/0.006967, allocations: 268.1 kB / 0.819 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.165e-05/0.007029, allocations: 273.1 kB / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.007159, allocations: 447.9 kB / 0.8197 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.007205, allocations: 160.8 kB / 0.8199 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.007273, allocations: 269.2 kB / 0.8201 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.007333, allocations: 148.8 kB / 0.8203 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.007406, allocations: 268.4 kB / 0.8205 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.00744, allocations: 153.8 kB / 0.8207 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.007491, allocations: 144.4 kB / 0.8208 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007492, allocations: 0.5 kB / 0.8208 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001545/0.007646, allocations: 15.89 kB / 0.8208 GB, free: 7.75 MB / 0.7761 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 0.000112/0.007758, allocations: 215.9 kB / 0.821 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.007847, allocations: 37.7 kB / 0.8211 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.007849, allocations: 0 / 0.8211 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.007851, allocations: 0 / 0.8211 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.008145, allocations: 0.7077 MB / 0.8218 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.008434, allocations: 270.5 kB / 0.822 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.008474, allocations: 64.45 kB / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.008507, allocations: 13.12 kB / 0.8221 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.008531, allocations: 16.44 kB / 0.8221 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.008532, allocations: 0 / 0.8221 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of Templates: time 0.001806/0.01034, allocations: 319.9 kB / 0.8224 GB, free: 6.078 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.171710403170437]