Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001402/0.001402, allocations: 111.6 kB / 16.42 MB, free: 6.473 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.001444/0.001444, allocations: 187.9 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.89 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9334, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002594/0.936, allocations: 0.8315 MB / 1.227 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000242/0.9363, allocations: 35.8 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.9364, allocations: 4 kB / 1.227 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.605e-05/0.9365, allocations: 11.86 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.9367, allocations: 11.88 kB / 1.227 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.45e-05/0.9367, allocations: 15.98 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.9369, allocations: 63.84 kB / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.9371, allocations: 47.86 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.9372, allocations: 23.81 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.9373, allocations: 31.84 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.9373, allocations: 8 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.9374, allocations: 8 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.9374, allocations: 15.92 kB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.9375, allocations: 31.8 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.9377, allocations: 68.22 kB / 1.228 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.9377, allocations: 0 / 1.228 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.146e-06/0.9377, allocations: 3.938 kB / 1.228 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9377, allocations: 4 kB / 1.228 GB, free: 12.32 MB / 0.9512 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.0006649/0.9384, allocations: 381.3 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/0.9385, allocations: 19.97 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.9385, allocations: 12.84 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.9388, allocations: 188.2 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.9389, allocations: 12.36 kB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.9389, allocations: 8.375 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.9391, allocations: 97.36 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9391, allocations: 192 / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.9392, allocations: 7.938 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.9392, allocations: 8 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.9393, allocations: 35.97 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.94, allocations: 432.7 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.9401, allocations: 41.14 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.9402, allocations: 29.88 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.9402, allocations: 0 / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.9402, allocations: 30.56 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.9402, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.9405, allocations: 57.53 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.9405, allocations: 85.34 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.9407, allocations: 154.3 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.9407, allocations: 25.7 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.9408, allocations: 108 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.9408, allocations: 3.953 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.9409, allocations: 25.66 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9411, allocations: 318.8 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.9411, allocations: 7.984 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.9411, allocations: 21.72 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.9412, allocations: 25.66 kB / 1.23 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9412, allocations: 0 / 1.23 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.9413, allocations: 61.64 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9414, allocations: 4 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.9414, allocations: 0 / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.9414, allocations: 7.875 kB / 1.23 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.9415, allocations: 20 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9415, allocations: 0 / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.9415, allocations: 3.938 kB / 1.23 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.9416, allocations: 4 kB / 1.23 GB, free: 9.863 MB / 0.9512 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 0.0001073/0.9417, allocations: 113.8 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.9417, allocations: 7.953 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.9418, allocations: 15.8 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9418, allocations: 4 kB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9418, allocations: 3.938 kB / 1.23 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.9419, allocations: 97 kB / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.9419, allocations: 0 / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.942, allocations: 0 / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.942, allocations: 0 / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001479/0.9422, allocations: 200.2 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000224/0.9424, allocations: 306 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.063e-05/0.9424, allocations: 0 / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001014/0.9425, allocations: 122.9 kB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of Backend: time 7.21e-07/0.9425, allocations: 0 / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.943, allocations: 90.39 kB / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005113/0.9435, allocations: 0.6122 MB / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of Templates: time 0.002978/0.9465, allocations: 0.525 MB / 1.232 GB, free: 7.672 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches