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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001595/0.001595, allocations: 100.1 kB / 15.88 MB, free: 12 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.002205/0.002206, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.3 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6566, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002077/0.6587, allocations: 0.8778 MB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.06e-05/0.6588, allocations: 39.97 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.6589, allocations: 6.688 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.6589, allocations: 7.922 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.659, allocations: 7.938 kB / 0.9505 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.541e-05/0.6591, allocations: 12.12 kB / 0.9505 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.6591, allocations: 57.84 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.6593, allocations: 43.08 kB / 0.9506 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.6593, allocations: 27.48 kB / 0.9506 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.6594, allocations: 23.92 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.6594, allocations: 4.531 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.6594, allocations: 3.344 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.6594, allocations: 14.23 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.6595, allocations: 30.47 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.051e-05/0.6596, allocations: 60.75 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6596, allocations: 0 / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6596, allocations: 0 / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6596, allocations: 0 / 0.9508 GB, free: 8.25 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.0003514/0.6599, allocations: 375 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.66, allocations: 9.594 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.66, allocations: 9.312 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.6602, allocations: 198.2 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6602, allocations: 3.75 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.6602, allocations: 16.88 kB / 0.9513 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.6604, allocations: 95.33 kB / 0.9514 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6604, allocations: 1.438 kB / 0.9514 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6604, allocations: 7.938 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.6604, allocations: 2.531 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.6605, allocations: 35.05 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.6609, allocations: 446.2 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.661, allocations: 36.06 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.661, allocations: 16.28 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.6611, allocations: 4 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.6611, allocations: 36.19 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6611, allocations: 0 / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.6612, allocations: 62.66 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.6613, allocations: 78.45 kB / 0.9521 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.6614, allocations: 159.4 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.6614, allocations: 29.95 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.6615, allocations: 112.4 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.6615, allocations: 5.781 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.6615, allocations: 16.97 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.6615, allocations: 320.7 kB / 0.9527 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.6616, allocations: 7.062 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.6616, allocations: 19.59 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.6616, allocations: 30.22 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6616, allocations: 0 / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.157e-05/0.6617, allocations: 59.81 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6617, allocations: 5.062 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6617, allocations: 3.938 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6618, allocations: 1.156 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.6618, allocations: 9.844 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6618, allocations: 0 / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.6619, allocations: 2.469 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.6619, allocations: 6.062 kB / 0.9529 GB, free: 6.082 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.317e-05/0.6619, allocations: 116.9 kB / 0.953 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.662, allocations: 8.625 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.662, allocations: 14 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.662, allocations: 5.938 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.662, allocations: 0 / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.662, allocations: 96 / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.6623, allocations: 474.5 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6623, allocations: 5.484 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.6623, allocations: 6.859 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6624, allocations: 3.938 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.6624, allocations: 1.219 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.6624, allocations: 1.344 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6624, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.664e-05/0.6625, allocations: 86.16 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.6625, allocations: 93.06 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.6625, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.6625, allocations: 1.375 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.6626, allocations: 1.406 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.6626, allocations: 1.438 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.6626, allocations: 125 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6626, allocations: 4.031 kB / 0.9538 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001891/0.6628, allocations: 7.5 kB / 0.9538 GB, free: 5.125 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.0001003/0.6629, allocations: 99.8 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.663, allocations: 19.03 kB / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.663, allocations: 0 / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-06/0.663, allocations: 3.5 kB / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.6632, allocations: 12.22 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.6635, allocations: 212.2 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.6636, allocations: 0.6954 MB / 0.9548 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.6637, allocations: 12.06 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6637, allocations: 0 / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.002226/0.6659, allocations: 0.8544 MB / 0.9557 GB, free: 3.652 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/jenkins1/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