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.001186/0.001186, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.0012/0.0012, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.274/2.274, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.03 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2649, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00228/0.2673, allocations: 0.8355 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.2674, allocations: 39.78 kB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.2675, allocations: 0 / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.2676, allocations: 7.875 kB / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.2676, allocations: 11.94 kB / 0.9511 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.879e-05/0.2677, allocations: 23.91 kB / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2678, allocations: 59.8 kB / 0.9512 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.268, allocations: 43.95 kB / 0.9513 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.268, allocations: 19.94 kB / 0.9513 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.2681, allocations: 39.77 kB / 0.9513 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2681, allocations: 4 kB / 0.9513 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.2681, allocations: 8 kB / 0.9513 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.2682, allocations: 11.94 kB / 0.9513 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.2682, allocations: 39.73 kB / 0.9514 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2683, allocations: 67.98 kB / 0.9514 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2684, allocations: 0 / 0.9514 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2684, allocations: 0 / 0.9514 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2684, allocations: 0 / 0.9514 GB, free: 7.668 MB / 0.7325 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.0004284/0.2688, allocations: 388.5 kB / 0.9518 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2688, allocations: 8.031 kB / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.2689, allocations: 12.84 kB / 0.9518 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.2691, allocations: 184.2 kB / 0.952 GB, free: 7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2691, allocations: 4.375 kB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2692, allocations: 8.375 kB / 0.952 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2693, allocations: 102.3 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2693, allocations: 4.188 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2694, allocations: 7.938 kB / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2694, allocations: 0 / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.2694, allocations: 39.92 kB / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.27, allocations: 428.7 kB / 0.9526 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.2701, allocations: 41.31 kB / 0.9526 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.2701, allocations: 17.72 kB / 0.9526 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.2701, allocations: 3.984 kB / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2702, allocations: 34.56 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2702, allocations: 4 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.2704, allocations: 57.48 kB / 0.9527 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.2704, allocations: 77.11 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2706, allocations: 168.4 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2706, allocations: 29.64 kB / 0.953 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.2707, allocations: 104 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.2707, allocations: 7.891 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2707, allocations: 17.72 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2708, allocations: 327.1 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.2709, allocations: 4 kB / 0.9534 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.2709, allocations: 21.7 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.271, allocations: 29.59 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.271, allocations: 0 / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.367e-05/0.2711, allocations: 65.58 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2711, allocations: 4 kB / 0.9535 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2711, allocations: 7.922 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2711, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.2712, allocations: 8 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2712, allocations: 0 / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.2712, allocations: 11.84 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.2712, allocations: 4 kB / 0.9536 GB, free: 5.223 MB / 0.7325 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 8.568e-05/0.2713, allocations: 113.8 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.2714, allocations: 11.94 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.2714, allocations: 15.8 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2714, allocations: 4.094 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2714, allocations: 0 / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2714, allocations: 3.984 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.2718, allocations: 466.8 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2718, allocations: 0 / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.2718, allocations: 4 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2719, allocations: 4.062 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2719, allocations: 0 / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2719, allocations: 0 / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2719, allocations: 4 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.735e-05/0.272, allocations: 85.77 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.272, allocations: 85.02 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2721, allocations: 8.016 kB / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.2721, allocations: 0 / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.2721, allocations: 4 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2721, allocations: 7.938 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.2722, allocations: 121.3 kB / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2722, allocations: 0 / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001908/0.2724, allocations: 4 kB / 0.9545 GB, free: 4.188 MB / 0.7325 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.00011/0.2725, allocations: 99.78 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.2726, allocations: 23.94 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2726, allocations: 0 / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.2726, allocations: 7.984 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.2728, allocations: 11.94 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.2731, allocations: 188.7 kB / 0.9548 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2734, allocations: 0.6961 MB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.2734, allocations: 15.42 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2734, allocations: 0 / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of Templates: time 0.002251/0.2757, allocations: 0.8598 MB / 0.9563 GB, free: 2.215 MB / 0.7325 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