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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.339/2.339, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 186.4 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 102.8 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 10.44 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.5196, allocations: 149.6 MB / 1.375 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5199, allocations: 63.97 kB / 1.375 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002628/0.5225, allocations: 1.091 MB / 1.376 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5226, allocations: 0 / 1.376 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.5226, allocations: 0 / 1.376 GB, free: 2.773 MB / 0.8698 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.000359/0.523, allocations: 364.1 kB / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.523, allocations: 12.03 kB / 1.377 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.5231, allocations: 15.8 kB / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.5232, allocations: 186.9 kB / 1.377 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5232, allocations: 4 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.5233, allocations: 8 kB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5234, allocations: 87.33 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.5234, allocations: 0 / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.5235, allocations: 8 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5235, allocations: 3.984 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.5236, allocations: 35.98 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.5242, allocations: 452.5 kB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.5242, allocations: 41.19 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.5242, allocations: 4.125 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.5243, allocations: 38.56 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.5243, allocations: 0 / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001944/0.5245, allocations: 53.53 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5245, allocations: 81.36 kB / 1.378 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5247, allocations: 148.7 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5247, allocations: 29.64 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.5248, allocations: 104 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.5248, allocations: 7.844 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.5248, allocations: 0 / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5249, allocations: 322.8 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.5249, allocations: 4 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.5249, allocations: 25.7 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.525, allocations: 13.55 kB / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.525, allocations: 0 / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.015e-05/0.5251, allocations: 61.55 kB / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5251, allocations: 4 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5251, allocations: 0 / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5251, allocations: 0 / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.5252, allocations: 11.98 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5252, allocations: 4.062 kB / 1.378 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.5253, allocations: 11.84 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5253, allocations: 0 / 1.378 GB, free: 444 kB / 0.8698 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.957e-05/0.5254, allocations: 122.5 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.5254, allocations: 7.906 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.5255, allocations: 11.88 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5255, allocations: 0 / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5255, allocations: 3.984 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5255, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.5259, allocations: 474.8 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5259, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.5259, allocations: 4 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5259, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.5259, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5259, allocations: 4 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.526, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.829e-05/0.5261, allocations: 95.56 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.5261, allocations: 89.02 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.5261, allocations: 3.984 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.5262, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.5262, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.5262, allocations: 4 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.586e-05/0.5263, allocations: 123.3 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5263, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000181/0.5265, allocations: 15.95 kB / 1.379 GB, free: 15.38 MB / 0.8855 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.0001264/0.5266, allocations: 99.19 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.5267, allocations: 12 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5267, allocations: 3.938 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.5267, allocations: 12.12 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.5268, allocations: 12.84 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.5272, allocations: 182.5 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.5275, allocations: 0.7005 MB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.5275, allocations: 8.422 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.5276, allocations: 11.44 kB / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of SimCode: time 7.31e-07/0.5276, allocations: 0 / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.002374/0.5299, allocations: 420 kB / 1.381 GB, free: 13.86 MB / 0.8855 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