Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.01019/0.01019, allocations: 102 kB / 15.73 MB, free: 6.051 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.001784/0.001784, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.399/1.399, 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 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00228/1.037, allocations: 0.8713 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001582/1.038, allocations: 59.72 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/1.038, allocations: 0 / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/1.038, allocations: 11.86 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/1.038, allocations: 11.88 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.077e-05/1.038, allocations: 27.97 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/1.038, allocations: 75.78 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/1.038, allocations: 57.06 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/1.038, allocations: 39.73 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/1.038, allocations: 35.78 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/1.038, allocations: 8 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/1.038, allocations: 8 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/1.038, allocations: 11.94 kB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/1.039, allocations: 47.73 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/1.039, allocations: 111.3 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/1.039, allocations: 0 / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.505e-06/1.039, allocations: 0 / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.197e-05/1.039, allocations: 0 / 1.209 GB, free: 12.27 MB / 0.9356 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.0005463/1.039, allocations: 393.2 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.039, allocations: 12.03 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/1.039, allocations: 12.75 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/1.04, allocations: 200.3 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.04, allocations: 8.547 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/1.04, allocations: 16.38 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/1.04, allocations: 111.4 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.04, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.04, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.04, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/1.04, allocations: 43.92 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/1.041, allocations: 476.2 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/1.041, allocations: 33.28 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/1.041, allocations: 25.64 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/1.041, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.041, allocations: 34.56 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.041, allocations: 4 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001866/1.041, allocations: 53.55 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.041, allocations: 77.11 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/1.041, allocations: 183.2 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.041, allocations: 25.7 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/1.042, allocations: 108.2 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/1.042, allocations: 15.91 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/1.042, allocations: 25.55 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.042, allocations: 318.8 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/1.042, allocations: 11.98 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/1.042, allocations: 17.72 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/1.042, allocations: 33.66 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.042, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.465e-05/1.042, allocations: 61.59 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.042, allocations: 8 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.042, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.042, allocations: 3.938 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/1.042, allocations: 4.219 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.042, allocations: 4 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/1.042, allocations: 15.72 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/1.042, allocations: 4 kB / 1.211 GB, free: 9.707 MB / 0.9356 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 9.537e-05/1.042, allocations: 117.9 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/1.042, allocations: 11.89 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/1.042, allocations: 12.56 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/1.042, allocations: 0 / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.042, allocations: 0 / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/1.042, allocations: 3.938 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/1.043, allocations: 478.8 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.043, allocations: 0 / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/1.043, allocations: 4 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.043, allocations: 0 / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/1.043, allocations: 3.938 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.043, allocations: 4 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.043, allocations: 0 / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.902e-05/1.043, allocations: 89.8 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/1.043, allocations: 89 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/1.043, allocations: 3.938 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/1.043, allocations: 4 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/1.043, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/1.043, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00012/1.043, allocations: 139.2 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.043, allocations: 0 / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001842/1.043, allocations: 8 kB / 1.212 GB, free: 8.645 MB / 0.9356 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.0001321/1.044, allocations: 99.28 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.044, allocations: 19.94 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.044, allocations: 0 / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/1.044, allocations: 4 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.044, allocations: 14.02 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/1.044, allocations: 194.8 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.045, allocations: 0.6963 MB / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.109e-05/1.045, allocations: 12.55 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/1.045, allocations: 11.44 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/1.045, allocations: 0 / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.003293/1.048, allocations: 0.5161 MB / 1.214 GB, free: 7.02 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches