Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001918/0.001918, 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.18 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.243/2.243, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.819, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001914/0.821, allocations: 0.8278 MB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.8211, allocations: 45.48 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.8212, allocations: 2 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.8212, allocations: 9.047 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.8213, allocations: 9.938 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.441e-05/0.8214, allocations: 20.62 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.8215, allocations: 62.7 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.8216, allocations: 38.52 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.8217, allocations: 25.25 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.8218, allocations: 39.45 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.8218, allocations: 5.781 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.8218, allocations: 6.469 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.8218, allocations: 15.91 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.8219, allocations: 29.02 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.822, allocations: 77.61 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.822, allocations: 1.312 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.822, allocations: 0 / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.822, allocations: 0 / 1.09 GB, free: 4.781 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.0003855/0.8224, allocations: 378.2 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.8225, allocations: 9.875 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.8225, allocations: 13.84 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8227, allocations: 196.5 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.8227, allocations: 8 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.8227, allocations: 4.531 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.8228, allocations: 94.58 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.8229, allocations: 192 / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8229, allocations: 13.19 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.8229, allocations: 3.047 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.823, allocations: 32.45 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.8234, allocations: 441.9 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/0.8235, allocations: 45 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.8235, allocations: 20.39 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.8235, allocations: 4.812 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.8236, allocations: 36.39 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8236, allocations: 0 / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.8237, allocations: 57.28 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.8238, allocations: 82.75 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.8239, allocations: 160.2 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.8239, allocations: 25.7 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.824, allocations: 107.3 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.824, allocations: 5.5 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.824, allocations: 14.14 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.8241, allocations: 320.3 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.8241, allocations: 12.86 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.8241, allocations: 23.22 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.8242, allocations: 26.67 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8242, allocations: 1.984 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.252e-05/0.8243, allocations: 52.72 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8243, allocations: 5.156 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8243, allocations: 9 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8243, allocations: 1.125 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.8244, allocations: 10.17 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.8244, allocations: 5.344 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.8244, allocations: 6.953 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.8245, allocations: 1.125 kB / 1.092 GB, free: 2.703 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 5.762e-05/0.8245, allocations: 114.3 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.8246, allocations: 8.312 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.8246, allocations: 13.3 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8246, allocations: 4 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8246, allocations: 1.125 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.8246, allocations: 1.688 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.8249, allocations: 474.1 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.825, allocations: 0.5156 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.825, allocations: 3.734 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.825, allocations: 1.25 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.825, allocations: 5.531 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.825, allocations: 0.8125 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.825, allocations: 4.75 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.345e-05/0.8251, allocations: 85.02 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.8251, allocations: 90.67 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.8252, allocations: 0.6562 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.8252, allocations: 5.672 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.8252, allocations: 1.312 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.8252, allocations: 1.547 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001069/0.8253, allocations: 121.1 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8253, allocations: 0 / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000198/0.8255, allocations: 10.88 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.226e-05/0.8256, allocations: 98.62 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.8258, allocations: 27.02 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8258, allocations: 1.031 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.8258, allocations: 4.797 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.0001696/0.826, allocations: 16.72 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.8262, allocations: 187.3 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.8264, allocations: 0.6969 MB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.8265, allocations: 10.84 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8265, allocations: 1.188 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.002822/0.8293, allocations: 0.8696 MB / 1.095 GB, free: 16.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches