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.001947/0.001947, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.632/1.632, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.922/2.922, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001978, allocations: 63.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.745, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002456/0.7475, allocations: 0.8287 MB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.7476, allocations: 35.81 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.7477, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.7477, allocations: 11.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.7478, allocations: 7.922 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.862e-05/0.7479, allocations: 19.98 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.748, allocations: 63.78 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.7482, allocations: 47.95 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.7483, allocations: 27.86 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.7483, allocations: 23.86 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.7484, allocations: 8 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.7484, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.7484, allocations: 19.92 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.7485, allocations: 35.75 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.7486, allocations: 77.66 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7486, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7486, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7487, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.7637 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.000561/0.7492, allocations: 379.2 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.7493, allocations: 8.031 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.7493, allocations: 8.844 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.7496, allocations: 196.2 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7497, allocations: 8.375 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.7497, allocations: 4.375 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.7499, allocations: 97.67 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7499, allocations: 192 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.7499, allocations: 7.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7499, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.75, allocations: 39.92 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.7506, allocations: 436.7 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.647e-05/0.7507, allocations: 41.19 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.7508, allocations: 29.78 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.7508, allocations: 3.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.7508, allocations: 30.56 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7508, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.751, allocations: 61.47 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.7511, allocations: 77.36 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.7513, allocations: 166.2 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.7513, allocations: 25.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.7514, allocations: 107.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.7514, allocations: 7.906 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.7514, allocations: 13.72 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7516, allocations: 326.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.7516, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.7517, allocations: 21.72 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.7517, allocations: 33.64 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7517, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.691e-05/0.7518, allocations: 53.55 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7518, allocations: 8 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7519, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7519, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.7519, allocations: 12.05 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.752, allocations: 7.984 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.752, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.752, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 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.856e-05/0.7521, allocations: 109.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.7522, allocations: 11.81 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.7522, allocations: 15.81 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.7522, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7522, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.7522, allocations: 7.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.7528, allocations: 470.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7528, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.7528, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7529, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.7529, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7529, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7529, allocations: 64 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.753, allocations: 85.77 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.7531, allocations: 93.05 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.7531, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.7531, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.7531, allocations: 3.984 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.7531, allocations: 4.031 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001511/0.7533, allocations: 122 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7533, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001899/0.7535, allocations: 8 kB / 1.022 GB, free: 13.86 MB / 0.7794 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.0001383/0.7536, allocations: 101.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.7537, allocations: 19.94 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7538, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.7538, allocations: 8.125 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.7539, allocations: 13.31 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.7543, allocations: 158.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.7546, allocations: 0.6925 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.7547, allocations: 8.422 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.7547, allocations: 11.44 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7547, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.003292/0.758, allocations: 444.5 kB / 1.023 GB, free: 12.35 MB / 0.7794 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=400 -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/jenkins/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