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.001158/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001327, allocations: 192.8 kB / 16.14 MB, free: 6.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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.78/2.78, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.7497, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002033/0.7518, allocations: 0.8896 MB / 1.017 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.751e-05/0.7519, allocations: 43.73 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.7519, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.752, allocations: 11.92 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.7521, allocations: 3.938 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.742e-05/0.7521, allocations: 15.98 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.7522, allocations: 51.86 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.7524, allocations: 43.97 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.7524, allocations: 23.86 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.7525, allocations: 31.78 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.7525, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.7525, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.7525, allocations: 7.938 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.7526, allocations: 39.72 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.7527, allocations: 65.75 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7527, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7527, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.7527, allocations: 0 / 1.018 GB, free: 1.586 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.000411/0.7531, allocations: 387.2 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7531, allocations: 12.03 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.7532, allocations: 8.844 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.7534, allocations: 188.2 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7534, allocations: 4.375 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.7534, allocations: 16.31 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.7536, allocations: 99.84 kB / 1.018 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7536, allocations: 192 / 1.018 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7536, allocations: 3.938 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7536, allocations: 4 kB / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.7537, allocations: 35.92 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.7542, allocations: 436.6 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.7543, allocations: 41.34 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.7543, allocations: 13.78 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.7543, allocations: 0 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.7543, allocations: 46.55 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.7543, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001601/0.7545, allocations: 57.39 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.7546, allocations: 77.11 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.7547, allocations: 164.3 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.7547, allocations: 25.7 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.7548, allocations: 108.2 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.7548, allocations: 11.84 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.7548, allocations: 17.66 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.755, allocations: 322.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.755, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.755, allocations: 21.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.7551, allocations: 25.72 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7551, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.555e-05/0.7551, allocations: 61.55 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7552, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7552, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7552, allocations: 3.984 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.7553, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7553, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.7553, allocations: 7.906 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.7553, allocations: 4.062 kB / 1.02 GB, free: 15.14 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 6.949e-05/0.7554, allocations: 113.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.7554, allocations: 7.906 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.7555, allocations: 19.8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7555, allocations: 7.875 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7555, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.7555, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.7559, allocations: 466.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7559, allocations: 3.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.7559, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7559, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.7559, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7559, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7559, allocations: 96 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.226e-05/0.756, allocations: 89.88 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.7561, allocations: 88.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.7561, allocations: 3.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.7561, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.7561, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.7561, allocations: 7.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.159e-05/0.7562, allocations: 120.9 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7562, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001811/0.7564, allocations: 8.031 kB / 1.021 GB, free: 14.09 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.0001079/0.7565, allocations: 103.2 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.7566, allocations: 12 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7566, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.7566, allocations: 7.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.7568, allocations: 19.8 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.7572, allocations: 184.7 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.7574, allocations: 0.6926 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.7575, allocations: 12.42 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.7575, allocations: 11.44 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7575, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.003101/0.7606, allocations: 428.6 kB / 1.022 GB, free: 12.57 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=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/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