Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001479/0.001479, allocations: 184.8 kB / 487.4 MB, free: 5.02 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.671/1.671, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 94.78 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.218e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8122/1.106, allocations: 148.1 MB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/1.106, allocations: 59.92 kB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003475/1.11, allocations: 1.284 MB / 1.352 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/1.11, allocations: 0 / 1.352 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.11, allocations: 2.594 kB / 1.352 GB, free: 34.04 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003154/1.11, allocations: 374.1 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.11, allocations: 11.78 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/1.11, allocations: 13.75 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/1.11, allocations: 179.6 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.111, allocations: 2.625 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.111, allocations: 5.156 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/1.111, allocations: 42.91 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/1.111, allocations: 92.16 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.111, allocations: 0 / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.111, allocations: 8.5 kB / 1.353 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.111, allocations: 2.562 kB / 1.353 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/1.111, allocations: 446.8 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/1.111, allocations: 44.08 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/1.111, allocations: 32.97 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/1.112, allocations: 0 / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.112, allocations: 36.5 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/1.112, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000161/1.112, allocations: 57.67 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/1.112, allocations: 78.42 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.112, allocations: 122.5 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/1.112, allocations: 25.7 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/1.112, allocations: 113.2 kB / 1.354 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/1.112, allocations: 18.42 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.112, allocations: 2.625 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/1.112, allocations: 318.5 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/1.112, allocations: 8.625 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/1.112, allocations: 20.48 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/1.112, allocations: 18.75 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.112, allocations: 0 / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.447e-05/1.112, allocations: 69.3 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.112, allocations: 7.844 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/1.112, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.112, allocations: 4.422 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/1.112, allocations: 8.641 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.112, allocations: 4.5 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/1.112, allocations: 448 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.112, allocations: 3.844 kB / 1.354 GB, free: 32.21 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.097e-05/1.113, allocations: 101.6 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/1.113, allocations: 12.48 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/1.113, allocations: 20.88 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.113, allocations: 3.984 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.113, allocations: 0.6562 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.113, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/1.113, allocations: 494.7 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.113, allocations: 0.875 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/1.113, allocations: 13.23 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.113, allocations: 3.875 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/1.113, allocations: 0 / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.113, allocations: 0.6562 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.113, allocations: 4.312 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/1.113, allocations: 130.4 kB / 1.355 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/1.113, allocations: 95.25 kB / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/1.113, allocations: 4.484 kB / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.479e-05/1.113, allocations: 128 / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/1.113, allocations: 13.03 kB / 1.355 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/1.113, allocations: 4 kB / 1.355 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.26e-05/1.113, allocations: 108.7 kB / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.113, allocations: 0 / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001838/1.114, allocations: 19.41 kB / 1.355 GB, free: 31.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001039/1.114, allocations: 95.67 kB / 1.355 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.478e-05/1.114, allocations: 27.55 kB / 1.355 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.114, allocations: 0 / 1.355 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/1.114, allocations: 11.25 kB / 1.355 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/1.114, allocations: 13.89 kB / 1.355 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/1.114, allocations: 124.9 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.114, allocations: 0.7131 MB / 1.356 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.325e-05/1.114, allocations: 9.875 kB / 1.356 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/1.114, allocations: 7.438 kB / 1.356 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.114, allocations: 0 / 1.356 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.00195/1.116, allocations: 346 kB / 1.356 GB, free: 30.3 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches