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.001244/0.001244, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001344/0.001344, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.54/1.54, allocations: 222.9 MB / 241.1 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.926/2.926, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002579/1.093, allocations: 0.8921 MB / 1.168 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002148/1.093, allocations: 59.7 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/1.093, allocations: 0 / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.623e-05/1.093, allocations: 7.875 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/1.093, allocations: 15.88 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.48e-05/1.094, allocations: 23.97 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/1.094, allocations: 83.77 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/1.094, allocations: 49.09 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/1.094, allocations: 39.73 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/1.094, allocations: 35.78 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/1.094, allocations: 8 kB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/1.094, allocations: 8 kB / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/1.094, allocations: 15.94 kB / 1.169 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/1.094, allocations: 39.73 kB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/1.094, allocations: 107.3 kB / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.094, allocations: 0 / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.214e-06/1.094, allocations: 4 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.094, allocations: 0 / 1.169 GB, free: 2.449 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.0005542/1.095, allocations: 397.2 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.095, allocations: 12.92 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/1.095, allocations: 12.75 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/1.095, allocations: 200.3 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.095, allocations: 8.562 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/1.095, allocations: 8.375 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/1.096, allocations: 113.1 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.096, allocations: 0 / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/1.096, allocations: 8 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.096, allocations: 0 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/1.096, allocations: 43.92 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/1.097, allocations: 468.2 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/1.097, allocations: 45.14 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/1.097, allocations: 21.78 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/1.097, allocations: 0 / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.097, allocations: 34.56 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 5.26e-06/1.097, allocations: 4 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/1.097, allocations: 57.53 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.097, allocations: 77.11 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/1.097, allocations: 175.8 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/1.097, allocations: 25.7 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/1.097, allocations: 112 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/1.097, allocations: 7.891 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/1.097, allocations: 21.88 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.098, allocations: 334.7 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/1.098, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/1.098, allocations: 17.72 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/1.098, allocations: 25.66 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.098, allocations: 0 / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/1.098, allocations: 65.67 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.098, allocations: 4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.098, allocations: 4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.098, allocations: 4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/1.098, allocations: 8.156 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.098, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/1.098, allocations: 15.78 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/1.098, allocations: 3.938 kB / 1.171 GB, free: 15.89 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 9.718e-05/1.098, allocations: 118.4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/1.098, allocations: 16.06 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/1.098, allocations: 16.55 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.098, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.098, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/1.098, allocations: 93 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/1.098, allocations: 3.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/1.098, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/1.098, allocations: 4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001276/1.099, allocations: 200.2 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001813/1.099, allocations: 301.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.121e-05/1.099, allocations: 8 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001134/1.099, allocations: 136.3 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/1.099, allocations: 96 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004713/1.099, allocations: 97.05 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006287/1.1, allocations: 0.6256 MB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.003279/1.103, allocations: 0.5785 MB / 1.173 GB, free: 13.61 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/jenkins1/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