Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009451/0.009451, allocations: 100.7 kB / 15.73 MB, free: 5.555 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.001687/0.001687, allocations: 192.6 kB / 16.67 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.06, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002472/1.063, allocations: 0.8826 MB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001697/1.063, allocations: 63.69 kB / 1.168 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/1.063, allocations: 0 / 1.168 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/1.063, allocations: 11.88 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/1.063, allocations: 15.81 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.563e-05/1.063, allocations: 27.97 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/1.063, allocations: 75.83 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/1.063, allocations: 45.11 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/1.064, allocations: 35.73 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/1.064, allocations: 39.78 kB / 1.168 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/1.064, allocations: 8 kB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/1.064, allocations: 8 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/1.064, allocations: 19.91 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/1.064, allocations: 39.75 kB / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/1.064, allocations: 108 kB / 1.168 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.064, allocations: 0 / 1.168 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/1.064, allocations: 4 kB / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.064, allocations: 0 / 1.168 GB, free: 2.504 MB / 0.8887 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.0004789/1.064, allocations: 407.2 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.064, allocations: 8.922 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/1.064, allocations: 12.84 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/1.065, allocations: 200.4 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.065, allocations: 4.562 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/1.065, allocations: 12.38 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/1.065, allocations: 116.6 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.065, allocations: 0 / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.065, allocations: 0 / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.065, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/1.065, allocations: 43.92 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/1.066, allocations: 480.4 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.074e-05/1.066, allocations: 41.16 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/1.066, allocations: 17.78 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/1.066, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/1.066, allocations: 34.56 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/1.066, allocations: 4 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/1.066, allocations: 57.53 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.066, allocations: 77.11 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.066, allocations: 183.8 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.066, allocations: 25.7 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/1.066, allocations: 108.1 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/1.066, allocations: 7.891 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/1.066, allocations: 25.91 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.066, allocations: 322.8 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/1.066, allocations: 8 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/1.067, allocations: 21.88 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/1.067, allocations: 29.7 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.067, allocations: 3.938 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000104/1.067, allocations: 61.55 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.067, allocations: 8 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.067, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.067, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/1.067, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.067, allocations: 7.984 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/1.067, allocations: 3.938 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/1.067, allocations: 8 kB / 1.17 GB, free: 15.94 MB / 0.9044 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 8.484e-05/1.067, allocations: 121.5 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/1.067, allocations: 11.91 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/1.067, allocations: 12.56 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.067, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.067, allocations: 3.984 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.067, allocations: 7.938 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/1.067, allocations: 470.8 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.067, allocations: 64 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/1.067, allocations: 11.98 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.067, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/1.067, allocations: 3.938 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.067, allocations: 7.938 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.067, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.538e-05/1.068, allocations: 73.91 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/1.068, allocations: 97.08 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.068, allocations: 3.938 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/1.068, allocations: 4 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/1.068, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/1.068, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001005/1.068, allocations: 140.3 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.068, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001843/1.068, allocations: 15.94 kB / 1.171 GB, free: 14.86 MB / 0.9044 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.0001082/1.068, allocations: 103.2 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.486e-05/1.068, allocations: 19.98 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.068, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/1.068, allocations: 7.938 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/1.068, allocations: 8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/1.069, allocations: 198.4 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/1.069, allocations: 0.7043 MB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.184e-05/1.069, allocations: 4.562 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/1.069, allocations: 11.44 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.069, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of Templates: time 0.002569/1.072, allocations: 0.516 MB / 1.173 GB, free: 13.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches