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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001243/0.001243, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001294/0.001294, allocations: 192.5 kB / 16.14 MB, free: 6.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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 66.75 kB / 0.8984 GB, free: 37.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002164/0.3427, allocations: 0.888 MB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.3428, allocations: 43.78 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.3429, allocations: 4 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.343, allocations: 3.938 kB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.3431, allocations: 11.92 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.31e-05/0.3431, allocations: 11.98 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.3432, allocations: 63.75 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.3434, allocations: 43.97 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.3434, allocations: 23.88 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.3435, allocations: 31.72 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3435, allocations: 4 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3436, allocations: 4 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.3436, allocations: 12 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.3436, allocations: 31.73 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3437, allocations: 64.05 kB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3438, allocations: 4 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3438, allocations: 0 / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3438, allocations: 4 kB / 1.053 GB, free: 7.652 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.0004263/0.3442, allocations: 379.3 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3443, allocations: 11.97 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.3443, allocations: 8.844 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3445, allocations: 200.1 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3445, allocations: 384 / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3445, allocations: 16.36 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3447, allocations: 93.58 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3447, allocations: 192 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3447, allocations: 7.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3448, allocations: 4 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.3448, allocations: 39.92 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.3454, allocations: 436.6 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.226e-05/0.3455, allocations: 45.23 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.3455, allocations: 17.78 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3455, allocations: 7.938 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.3455, allocations: 34.56 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.3456, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.3457, allocations: 57.48 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.3458, allocations: 81.09 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3459, allocations: 153.1 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.346, allocations: 25.7 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.346, allocations: 112 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.3461, allocations: 3.906 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3461, allocations: 25.95 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3462, allocations: 314.8 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.3462, allocations: 11.92 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.3463, allocations: 17.72 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.3463, allocations: 25.72 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3463, allocations: 0 / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.625e-05/0.3464, allocations: 65.53 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3465, allocations: 4 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3465, allocations: 3.938 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3465, allocations: 4 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.3466, allocations: 7.938 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3466, allocations: 0 / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.3466, allocations: 11.84 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.3466, allocations: 0 / 1.055 GB, free: 5.211 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 9.178e-05/0.3467, allocations: 119.4 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3468, allocations: 11.89 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3468, allocations: 15.81 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3468, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3468, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3468, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.3472, allocations: 466.8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3472, allocations: 8.062 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.3473, allocations: 7.938 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3473, allocations: 4 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3473, allocations: 3.984 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.3474, allocations: 77.84 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.3474, allocations: 93.03 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3475, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.3475, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.3475, allocations: 4 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.3475, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.626e-05/0.3476, allocations: 127.2 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3476, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001917/0.3478, allocations: 11.94 kB / 1.056 GB, free: 4.168 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.0001337/0.348, allocations: 99.25 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.961e-05/0.348, allocations: 19.98 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3481, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.3481, allocations: 7.938 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.3483, allocations: 15.88 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.3486, allocations: 184.7 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3489, allocations: 0.6926 MB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.3489, allocations: 4.438 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.349, allocations: 15.44 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.349, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.002646/0.3516, allocations: 436.7 kB / 1.058 GB, free: 2.645 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/jenkins/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