Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005358/0.005358, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.001286/0.001286, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.37/1.37, 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.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 64.12 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002407/1.029, allocations: 0.8272 MB / 1.221 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001459/1.029, allocations: 39.78 kB / 1.221 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/1.029, allocations: 0 / 1.221 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/1.029, allocations: 7.875 kB / 1.221 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/1.029, allocations: 15.86 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.767e-05/1.03, allocations: 15.98 kB / 1.221 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/1.03, allocations: 63.84 kB / 1.222 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/1.03, allocations: 43.86 kB / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/1.03, allocations: 27.86 kB / 1.222 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/1.03, allocations: 27.84 kB / 1.222 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/1.03, allocations: 4 kB / 1.222 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/1.03, allocations: 11.94 kB / 1.222 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/1.03, allocations: 15.92 kB / 1.222 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/1.03, allocations: 35.8 kB / 1.222 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/1.03, allocations: 71.22 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.03, allocations: 4 kB / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.512e-06/1.03, allocations: 0 / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.03, allocations: 0 / 1.222 GB, free: 0.9062 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004988/1.031, allocations: 376.1 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.031, allocations: 16.02 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.031, allocations: 16.78 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/1.031, allocations: 192.2 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/1.031, allocations: 384 / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/1.031, allocations: 12.38 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.031, allocations: 93.83 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.031, allocations: 4.125 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.031, allocations: 7.938 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.031, allocations: 7.984 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/1.031, allocations: 35.98 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/1.032, allocations: 432.8 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/1.032, allocations: 45.22 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/1.032, allocations: 13.78 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/1.032, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.032, allocations: 50.47 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/1.032, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000223/1.032, allocations: 53.75 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/1.032, allocations: 85.08 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/1.033, allocations: 160.9 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/1.033, allocations: 25.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/1.033, allocations: 104 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/1.033, allocations: 11.94 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/1.033, allocations: 17.67 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.033, allocations: 322.8 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/1.033, allocations: 8 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/1.033, allocations: 17.72 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/1.033, allocations: 29.7 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.033, allocations: 3.938 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/1.033, allocations: 53.66 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.033, allocations: 4 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.033, allocations: 8 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.033, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/1.033, allocations: 11.98 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.033, allocations: 7.875 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/1.033, allocations: 7.938 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/1.033, allocations: 0 / 1.224 GB, free: 14.45 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 7.995e-05/1.033, allocations: 113.8 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/1.033, allocations: 7.953 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/1.033, allocations: 19.8 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.033, allocations: 4 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.033, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.033, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/1.034, allocations: 474.7 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/1.034, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/1.034, allocations: 4 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.034, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.034, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.034, allocations: 8.062 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.034, allocations: 0 / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.202e-05/1.034, allocations: 81.81 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/1.034, allocations: 85.06 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/1.034, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/1.034, allocations: 7.984 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/1.034, allocations: 4.031 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/1.034, allocations: 4 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.618e-05/1.034, allocations: 121.1 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 0 / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002031/1.034, allocations: 4 kB / 1.225 GB, free: 13.41 MB / 0.9512 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.0001554/1.035, allocations: 103.2 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.035, allocations: 15.94 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.035, allocations: 4.125 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/1.035, allocations: 8 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/1.035, allocations: 11.84 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/1.035, allocations: 162.6 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/1.036, allocations: 0.6929 MB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.463e-05/1.036, allocations: 12.55 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/1.036, allocations: 11.44 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/1.036, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.002728/1.038, allocations: 467 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches