Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001391/0.001391, allocations: 108 kB / 15.61 MB, free: 152 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.001168/0.001168, allocations: 196.8 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.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.2 MB / 0.6646 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.943/0.9443, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002124/0.9465, allocations: 0.8176 MB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.9466, allocations: 45 kB / 0.9504 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.9467, allocations: 5.5 kB / 0.9504 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.9468, allocations: 7.875 kB / 0.9504 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.9468, allocations: 13.48 kB / 0.9504 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.355e-05/0.9469, allocations: 18.7 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.947, allocations: 51.8 kB / 0.9505 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.9472, allocations: 48.78 kB / 0.9506 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.9472, allocations: 23.34 kB / 0.9506 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.9473, allocations: 36.88 kB / 0.9506 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.9473, allocations: 4.969 kB / 0.9506 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.9473, allocations: 6.75 kB / 0.9506 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.9474, allocations: 14.5 kB / 0.9506 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.9474, allocations: 33.86 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.9475, allocations: 75.05 kB / 0.9507 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9475, allocations: 4 kB / 0.9507 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9475, allocations: 0 / 0.9507 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9475, allocations: 1.25 kB / 0.9508 GB, free: 8.195 MB / 0.7169 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.0003677/0.9479, allocations: 378.2 kB / 0.9511 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.948, allocations: 9.188 kB / 0.9511 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.948, allocations: 8.906 kB / 0.9511 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.9482, allocations: 194.8 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.9482, allocations: 7.359 kB / 0.9513 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.9482, allocations: 14.44 kB / 0.9513 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.9484, allocations: 93.81 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.9484, allocations: 1.656 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9484, allocations: 3.938 kB / 0.9514 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9484, allocations: 1.844 kB / 0.9514 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.9485, allocations: 40.11 kB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.9489, allocations: 436.6 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.949, allocations: 42.09 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.949, allocations: 18.95 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.949, allocations: 1.312 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.9491, allocations: 39.78 kB / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9491, allocations: 0 / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.9492, allocations: 54.23 kB / 0.952 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.9493, allocations: 78.7 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.9494, allocations: 163.5 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.9494, allocations: 25.7 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.9495, allocations: 112.6 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.9495, allocations: 9.375 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.9495, allocations: 21.36 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.9496, allocations: 324.1 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.9496, allocations: 3.594 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.9496, allocations: 23.02 kB / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.9496, allocations: 26.81 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9496, allocations: 0 / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.051e-05/0.9497, allocations: 62.56 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.9497, allocations: 6.812 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9498, allocations: 3.938 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9498, allocations: 0 / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.9498, allocations: 6.344 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.9498, allocations: 0 / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.9499, allocations: 2.656 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.9499, allocations: 5.25 kB / 0.9529 GB, free: 6.027 MB / 0.7169 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 5.396e-05/0.9499, allocations: 114 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.95, allocations: 6.938 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.95, allocations: 18.8 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.95, allocations: 1.531 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.95, allocations: 3.938 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.95, allocations: 1.562 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.9503, allocations: 478.5 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9503, allocations: 4 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.9503, allocations: 7.781 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9503, allocations: 0 / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.9504, allocations: 1.031 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9504, allocations: 1.188 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9504, allocations: 0 / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.143e-05/0.9504, allocations: 82.98 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.9505, allocations: 91.47 kB / 0.9536 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.9505, allocations: 5.25 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.9505, allocations: 1.188 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.9505, allocations: 1.219 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.9505, allocations: 1.344 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.9506, allocations: 124.3 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9506, allocations: 4.031 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001801/0.9508, allocations: 10.5 kB / 0.9538 GB, free: 5.066 MB / 0.7169 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.000103/0.9509, allocations: 97.77 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.951, allocations: 18.98 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.951, allocations: 0 / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.951, allocations: 12.22 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.9512, allocations: 6.938 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.9515, allocations: 158.1 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.9516, allocations: 0.7025 MB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.9516, allocations: 4.656 kB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.9517, allocations: 11.47 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9517, allocations: 0 / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.002394/0.9541, allocations: 460.4 kB / 0.9552 GB, free: 3.855 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches