Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001593/0.001593, 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.001824/0.001823, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.591/1.591, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.78 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002761/0.3418, allocations: 0.8919 MB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.342, allocations: 39.84 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.3421, allocations: 0 / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.3422, allocations: 3.938 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3423, allocations: 7.938 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.108e-05/0.3423, allocations: 15.98 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3424, allocations: 67.69 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3426, allocations: 43.95 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.3427, allocations: 19.88 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.3428, allocations: 27.84 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3428, allocations: 4 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.3428, allocations: 4 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.3428, allocations: 11.94 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.3429, allocations: 35.67 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.972e-05/0.343, allocations: 56.17 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.343, allocations: 4 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.343, allocations: 0 / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.343, allocations: 0 / 1.054 GB, free: 7.07 MB / 0.8106 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.0006146/0.3436, allocations: 379.3 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3437, allocations: 8.031 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.3437, allocations: 12.84 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.344, allocations: 184.2 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.344, allocations: 8.375 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3441, allocations: 8.375 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3443, allocations: 107.8 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3443, allocations: 192 / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3443, allocations: 7.938 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3443, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.3444, allocations: 35.92 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.3452, allocations: 436.6 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.3453, allocations: 37.19 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.3454, allocations: 21.84 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3454, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3454, allocations: 38.55 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3454, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.3457, allocations: 57.48 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3457, allocations: 77.11 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3459, allocations: 165.7 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3459, allocations: 25.7 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.346, allocations: 116.1 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.3461, allocations: 7.906 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.3461, allocations: 17.72 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3462, allocations: 318.8 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.3463, allocations: 8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.3463, allocations: 21.7 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.3464, allocations: 33.59 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3464, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.3465, allocations: 61.55 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3465, allocations: 5.25 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3465, allocations: 7.938 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3465, allocations: 3.984 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.3466, allocations: 8 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3466, allocations: 0 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.3467, allocations: 7.844 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3467, allocations: 4 kB / 1.056 GB, free: 4.625 MB / 0.8106 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.758e-05/0.3468, allocations: 117.9 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.3468, allocations: 7.906 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.3469, allocations: 11.8 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3469, allocations: 4 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3469, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3469, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.3474, allocations: 474.8 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3474, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.3474, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3474, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.3474, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3474, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.131e-05/0.3474, allocations: 4 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.566e-05/0.3475, allocations: 93.91 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3476, allocations: 81.02 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3476, allocations: 7.984 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.3477, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.3477, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3477, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.605e-05/0.3478, allocations: 115.2 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3478, allocations: 4 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002026/0.348, allocations: 8 kB / 1.057 GB, free: 3.594 MB / 0.8106 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.0001285/0.3481, allocations: 103.3 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.627e-05/0.3482, allocations: 15.94 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3482, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.3483, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.3484, allocations: 23.8 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.3489, allocations: 210.4 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.3492, allocations: 0.6926 MB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.3492, allocations: 11.44 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3492, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of Templates: time 0.002282/0.3515, allocations: 0.852 MB / 1.059 GB, free: 1.605 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches