Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 109.5 kB / 16.41 MB, free: 6.469 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.001702/0.001703, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.547/2.547, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00285/1.081, allocations: 0.8274 MB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/1.081, allocations: 43.78 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/1.081, allocations: 4 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.215e-05/1.081, allocations: 7.875 kB / 1.168 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/1.081, allocations: 7.922 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.663e-05/1.082, allocations: 19.98 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/1.082, allocations: 59.78 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/1.082, allocations: 43.98 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/1.082, allocations: 23.91 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/1.082, allocations: 27.8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/1.082, allocations: 8 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/1.082, allocations: 8 kB / 1.168 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/1.082, allocations: 15.92 kB / 1.168 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/1.082, allocations: 35.75 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/1.082, allocations: 75.2 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.082, allocations: 0 / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.944e-06/1.082, allocations: 4 kB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.082, allocations: 0 / 1.168 GB, free: 2.617 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005596/1.083, allocations: 380.1 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.083, allocations: 8.625 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/1.083, allocations: 16.84 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/1.083, allocations: 196.1 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.083, allocations: 12.38 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/1.083, allocations: 4.375 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/1.084, allocations: 98.39 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.084, allocations: 192 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.084, allocations: 3.938 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.084, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/1.084, allocations: 39.92 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/1.084, allocations: 436.6 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/1.085, allocations: 49.27 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/1.085, allocations: 21.84 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/1.085, allocations: 0 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.085, allocations: 30.56 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/1.085, allocations: 4 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002079/1.085, allocations: 61.52 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.085, allocations: 81.05 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/1.085, allocations: 160.5 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/1.085, allocations: 25.7 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/1.085, allocations: 108 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/1.085, allocations: 7.953 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/1.085, allocations: 21.91 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.085, allocations: 322.8 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/1.085, allocations: 8 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/1.085, allocations: 13.72 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/1.086, allocations: 25.72 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.086, allocations: 0 / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.629e-05/1.086, allocations: 65.53 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.086, allocations: 10.5 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.086, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.086, allocations: 3.938 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/1.086, allocations: 8 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.086, allocations: 3.984 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/1.086, allocations: 7.875 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.086, allocations: 4 kB / 1.171 GB, free: 172 kB / 0.8887 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.485e-05/1.086, allocations: 117.9 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/1.086, allocations: 7.953 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/1.086, allocations: 11.81 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.086, allocations: 7.938 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.086, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/1.086, allocations: 85.05 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.086, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/1.086, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/1.086, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001599/1.086, allocations: 200.2 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002167/1.087, allocations: 298 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.244e-05/1.087, allocations: 8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001118/1.087, allocations: 121.9 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of Backend: time 4.21e-07/1.087, allocations: 4.094 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005155/1.087, allocations: 92.41 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007134/1.088, allocations: 0.6145 MB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.003506/1.092, allocations: 0.524 MB / 1.173 GB, free: 13.97 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches