Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.723/2.723, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8804/0.8807, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00106/0.8819, allocations: 0.5276 MB / 1.021 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001091/0.882, allocations: 43.78 kB / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.882, allocations: 0 / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.8821, allocations: 3.938 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.8822, allocations: 7.984 kB / 1.021 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.94e-05/0.8822, allocations: 15.98 kB / 1.021 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.8823, allocations: 35.91 kB / 1.021 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.8824, allocations: 36.14 kB / 1.021 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.8825, allocations: 11.88 kB / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.8826, allocations: 23.86 kB / 1.021 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.8826, allocations: 0 / 1.021 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.818e-05/0.8826, allocations: 0 / 1.021 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.8827, allocations: 15.92 kB / 1.022 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.8827, allocations: 33.64 kB / 1.022 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.407e-05/0.8828, allocations: 47.89 kB / 1.022 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8828, allocations: 7.938 kB / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8828, allocations: 4 kB / 1.022 GB, free: 296 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8828, allocations: 0 / 1.022 GB, free: 296 kB / 0.7637 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.0004922/0.8833, allocations: 365 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.8834, allocations: 15.98 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.8834, allocations: 11.81 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.8837, allocations: 187 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.8837, allocations: 8 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.8837, allocations: 12 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.8839, allocations: 99.17 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8839, allocations: 4 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.884, allocations: 7.938 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.884, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.8841, allocations: 39.92 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.8847, allocations: 428.7 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/0.8847, allocations: 37.19 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.8847, allocations: 4.125 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8848, allocations: 42.55 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8848, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.885, allocations: 53.5 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.885, allocations: 77.11 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.8852, allocations: 163.3 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.8853, allocations: 25.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.8853, allocations: 103.9 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.8853, allocations: 12.09 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.8853, allocations: 4 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8855, allocations: 318.8 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.8855, allocations: 8 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.8855, allocations: 13.72 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.8855, allocations: 8 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.8856, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.024e-05/0.8856, allocations: 65.53 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8857, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.8857, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8857, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.8858, allocations: 7.953 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8858, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.8858, allocations: 11.92 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8858, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.8859, allocations: 113.8 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.8859, allocations: 19.91 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.886, allocations: 11.88 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.886, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.886, allocations: 3.953 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.886, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.8864, allocations: 470.7 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8864, allocations: 3.938 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.8864, allocations: 8.062 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8864, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8864, allocations: 7.953 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8864, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8864, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.816e-05/0.8865, allocations: 91.55 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.8866, allocations: 93 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.8866, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.8867, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.8867, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.8867, allocations: 4 kB / 1.024 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001358/0.8868, allocations: 120.9 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8868, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001862/0.887, allocations: 7.938 kB / 1.025 GB, free: 12.89 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.8871, allocations: 109.9 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.613e-05/0.8872, allocations: 15.94 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8872, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.809e-06/0.8873, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.8874, allocations: 8 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.8877, allocations: 182.8 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.888, allocations: 0.6965 MB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.8881, allocations: 8.516 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.8881, allocations: 11.44 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8881, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.002633/0.8908, allocations: 415.9 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches