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.001454/0.001454, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001661/0.001661, allocations: 187 kB / 17.34 MB, free: 5.742 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 64.12 kB / 0.9516 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9192/0.9206, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001917/0.9226, allocations: 0.8384 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.9227, allocations: 33.94 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.9228, allocations: 1.25 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.9228, allocations: 9.234 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.9229, allocations: 13.97 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.073e-05/0.923, allocations: 15.78 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.9231, allocations: 67.58 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.9232, allocations: 37.88 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.9233, allocations: 29.84 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.9233, allocations: 30.28 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.9234, allocations: 6.562 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.9234, allocations: 5.625 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.9234, allocations: 12.62 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.9234, allocations: 37.03 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.9236, allocations: 79 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9236, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9236, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.9236, allocations: 1.281 kB / 1.09 GB, free: 4.773 MB / 0.8575 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.0003552/0.924, allocations: 375.7 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.924, allocations: 9.766 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.924, allocations: 14.19 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.9242, allocations: 192.4 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9242, allocations: 7.203 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.9243, allocations: 5.812 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.9244, allocations: 93.97 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.9244, allocations: 1.188 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.9244, allocations: 9.672 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.9244, allocations: 2.219 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.9245, allocations: 39.3 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.925, allocations: 442.5 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.9251, allocations: 45.09 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.9251, allocations: 21.16 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.9251, allocations: 4 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.9251, allocations: 32.28 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9251, allocations: 0.875 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.9253, allocations: 57.11 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.9253, allocations: 77.91 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.9255, allocations: 159.2 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-06/0.9255, allocations: 25.95 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.9255, allocations: 107.1 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.9256, allocations: 10.98 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.9256, allocations: 13.89 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.9256, allocations: 320.2 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.9257, allocations: 8.078 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.9257, allocations: 15.3 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.9257, allocations: 35.52 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.9257, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.381e-05/0.9258, allocations: 56.86 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.9258, allocations: 6.797 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9258, allocations: 3.938 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9259, allocations: 0.9688 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.9259, allocations: 7.484 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.9259, allocations: 0 / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.926, allocations: 10.84 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.926, allocations: 6 kB / 1.092 GB, free: 2.707 MB / 0.8575 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 4.804e-05/0.926, allocations: 110.1 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.9261, allocations: 8.156 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.9261, allocations: 16.17 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.9261, allocations: 1.125 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9261, allocations: 1.156 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9261, allocations: 0.75 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.9264, allocations: 478.9 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9264, allocations: 0.5938 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.9264, allocations: 4.047 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9265, allocations: 4.766 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.9265, allocations: 4.75 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9265, allocations: 1.484 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9265, allocations: 4.812 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.779e-05/0.9265, allocations: 80.52 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.9266, allocations: 98.16 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.9266, allocations: 2.141 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.9266, allocations: 1 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.9267, allocations: 1.531 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.9267, allocations: 1.484 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.913e-05/0.9267, allocations: 120.8 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9267, allocations: 4.031 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001884/0.9269, allocations: 7.531 kB / 1.093 GB, free: 1.785 MB / 0.8575 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 9.628e-05/0.927, allocations: 101.9 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.9271, allocations: 24.12 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9271, allocations: 0 / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.9272, allocations: 4.703 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.9273, allocations: 18.22 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.9276, allocations: 192.7 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.9278, allocations: 0.6917 MB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.9278, allocations: 10.94 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9278, allocations: 0 / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.002417/0.9303, allocations: 0.8657 MB / 1.095 GB, free: 16.7 MB / 0.8731 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