Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 107 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.001312/0.001312, 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 64.05 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.835, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002313/0.8373, allocations: 0.8332 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.8375, allocations: 43.84 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.8376, allocations: 3.938 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.8377, allocations: 7.922 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.8378, allocations: 7.875 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.911e-05/0.8378, allocations: 15.98 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.838, allocations: 67.78 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.8381, allocations: 47.91 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.8382, allocations: 23.92 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.8383, allocations: 35.78 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.8383, allocations: 4 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.8383, allocations: 12 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.8384, allocations: 11.94 kB / 1.21 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.8384, allocations: 31.8 kB / 1.21 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.8385, allocations: 75.64 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8385, allocations: 4 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8386, allocations: 0 / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8386, allocations: 0 / 1.21 GB, free: 12.56 MB / 0.9356 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.0004484/0.839, allocations: 381 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8391, allocations: 12.03 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.8391, allocations: 12.84 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.8393, allocations: 200 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.8394, allocations: 4.375 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.8394, allocations: 12.38 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.8396, allocations: 89.81 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8396, allocations: 192 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.8396, allocations: 7.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.8396, allocations: 7.984 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.8397, allocations: 43.92 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.8403, allocations: 428.5 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.17e-05/0.8403, allocations: 45.28 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.8404, allocations: 25.77 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.8404, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8404, allocations: 34.56 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8404, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.8406, allocations: 53.48 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8407, allocations: 81.11 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.8408, allocations: 160.9 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8409, allocations: 25.7 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.8409, allocations: 108 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.841, allocations: 11.89 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.841, allocations: 25.64 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8411, allocations: 310.8 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.8411, allocations: 8 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.8412, allocations: 25.7 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.8412, allocations: 21.72 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8412, allocations: 4 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.737e-05/0.8413, allocations: 57.53 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8414, allocations: 4 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8414, allocations: 3.938 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8414, allocations: 4 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.8415, allocations: 12.06 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.8415, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.8415, allocations: 11.84 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.8415, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 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 7.974e-05/0.8416, allocations: 113.8 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.8417, allocations: 7.906 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.8417, allocations: 15.8 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8417, allocations: 3.938 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8418, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8418, allocations: 4 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.8421, allocations: 466.8 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8422, allocations: 7.938 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.8422, allocations: 4 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8422, allocations: 0 / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.8422, allocations: 4 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8422, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8422, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.209e-05/0.8423, allocations: 85.89 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.8424, allocations: 92.94 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.8424, allocations: 0 / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.8424, allocations: 0 / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.8424, allocations: 7.938 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.8424, allocations: 3.938 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.112e-05/0.8425, allocations: 125.1 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8425, allocations: 0 / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001983/0.8427, allocations: 15.91 kB / 1.213 GB, free: 9.059 MB / 0.9356 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.000126/0.8429, allocations: 95.25 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.843, allocations: 19.98 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.843, allocations: 0 / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.843, allocations: 8.125 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.8432, allocations: 12 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.8435, allocations: 188.5 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.8438, allocations: 0.6924 MB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.8438, allocations: 11.44 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.8438, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.002346/0.8462, allocations: 0.8639 MB / 1.215 GB, free: 7.098 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches