Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001815, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001807/0.001807, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.191/2.191, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 66.77 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2613, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002388/0.2638, allocations: 0.8823 MB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001507/0.264, allocations: 43.78 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.264, allocations: 0 / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.2641, allocations: 7.922 kB / 0.9507 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.2642, allocations: 7.938 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.8e-05/0.2642, allocations: 15.98 kB / 0.9507 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2644, allocations: 55.86 kB / 0.9508 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.2645, allocations: 51.94 kB / 0.9508 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.2646, allocations: 23.88 kB / 0.9508 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.2647, allocations: 27.84 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2647, allocations: 8 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.2647, allocations: 12 kB / 0.9509 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2647, allocations: 11.88 kB / 0.9509 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.2648, allocations: 35.8 kB / 0.9509 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.2649, allocations: 56.17 kB / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2649, allocations: 0 / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2649, allocations: 0 / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2649, allocations: 0 / 0.951 GB, free: 7.988 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.0004593/0.2654, allocations: 375.2 kB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2654, allocations: 8.031 kB / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2655, allocations: 16.78 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2657, allocations: 196.1 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2657, allocations: 8.312 kB / 0.9515 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2658, allocations: 8.375 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2659, allocations: 95.86 kB / 0.9516 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2659, allocations: 192 / 0.9516 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.266, allocations: 3.938 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.266, allocations: 4 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.2661, allocations: 43.92 kB / 0.9517 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.2666, allocations: 428.7 kB / 0.9521 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.2667, allocations: 41.19 kB / 0.9521 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.2668, allocations: 21.84 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2668, allocations: 4 kB / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2668, allocations: 30.56 kB / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.2668, allocations: 0 / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000183/0.267, allocations: 57.47 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.2671, allocations: 89.3 kB / 0.9523 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2672, allocations: 163.8 kB / 0.9525 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.2673, allocations: 29.7 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.2673, allocations: 108 kB / 0.9526 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.2673, allocations: 3.906 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2674, allocations: 17.72 kB / 0.9526 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2675, allocations: 318.8 kB / 0.953 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.2675, allocations: 4 kB / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.2676, allocations: 25.66 kB / 0.953 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.2676, allocations: 33.7 kB / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2676, allocations: 0 / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.2677, allocations: 53.55 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2677, allocations: 6.656 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2678, allocations: 7.938 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2678, allocations: 4.062 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.2678, allocations: 7.984 kB / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2679, allocations: 7.922 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.2679, allocations: 15.84 kB / 0.9531 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2679, allocations: 0 / 0.9531 GB, free: 5.535 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 9.243e-05/0.268, allocations: 115.8 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.2681, allocations: 7.906 kB / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.2681, allocations: 15.81 kB / 0.9532 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2681, allocations: 0 / 0.9532 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2681, allocations: 4 kB / 0.9532 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2681, allocations: 12.06 kB / 0.9533 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.2685, allocations: 466.8 kB / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2685, allocations: 4 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.2685, allocations: 0 / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2685, allocations: 4 kB / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.2686, allocations: 3.938 kB / 0.9537 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2686, allocations: 4.062 kB / 0.9537 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2686, allocations: 0 / 0.9537 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.995e-05/0.2687, allocations: 77.83 kB / 0.9538 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.2687, allocations: 89.02 kB / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2688, allocations: 0 / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.2688, allocations: 4 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.2688, allocations: 8.016 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.2688, allocations: 0 / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.2689, allocations: 118.3 kB / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2689, allocations: 0 / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001894/0.2691, allocations: 8 kB / 0.954 GB, free: 4.504 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.0001092/0.2692, allocations: 103.2 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.788e-05/0.2693, allocations: 19.94 kB / 0.9541 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.2693, allocations: 4.125 kB / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.41e-05/0.2693, allocations: 11.94 kB / 0.9541 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.2695, allocations: 14.89 kB / 0.9542 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.2698, allocations: 208.6 kB / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2701, allocations: 0.6961 MB / 0.955 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.2702, allocations: 11.44 kB / 0.955 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of SimCode: time 4.6e-07/0.2702, allocations: 0 / 0.955 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of Templates: time 0.002439/0.2726, allocations: 0.8521 MB / 0.9559 GB, free: 2.516 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches