Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006829/0.00683, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001187/0.001187, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.89 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00202/1.121, allocations: 0.8189 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/1.121, allocations: 35.8 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/1.121, allocations: 4 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/1.121, allocations: 7.875 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.876e-05/1.121, allocations: 19.84 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.572e-05/1.121, allocations: 19.98 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/1.121, allocations: 55.84 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/1.122, allocations: 43.92 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/1.122, allocations: 27.86 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/1.122, allocations: 27.8 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/1.122, allocations: 8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/1.122, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/1.122, allocations: 15.92 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/1.122, allocations: 39.8 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/1.122, allocations: 67.64 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.122, allocations: 4 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/1.122, allocations: 0 / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.148e-06/1.122, allocations: 4 kB / 1.209 GB, free: 12.41 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.0004345/1.122, allocations: 380.8 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001203/1.122, allocations: 12.03 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/1.123, allocations: 12.83 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/1.123, allocations: 196.1 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/1.123, allocations: 4.375 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.123, allocations: 8.375 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/1.123, allocations: 101.8 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/1.123, allocations: 192 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.123, allocations: 3.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.123, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/1.123, allocations: 43.91 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/1.124, allocations: 428.6 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/1.124, allocations: 49.25 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.124, allocations: 17.72 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/1.124, allocations: 0 / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.124, allocations: 34.56 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/1.124, allocations: 4 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001691/1.124, allocations: 61.47 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.124, allocations: 77.11 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.124, allocations: 160.3 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/1.124, allocations: 25.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/1.124, allocations: 104 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/1.124, allocations: 7.906 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/1.124, allocations: 13.72 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.125, allocations: 327.1 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/1.125, allocations: 4 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/1.125, allocations: 17.72 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/1.125, allocations: 29.64 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.125, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.036e-05/1.125, allocations: 65.58 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.125, allocations: 4 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.125, allocations: 3.938 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.125, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/1.125, allocations: 11.98 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.125, allocations: 0 / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/1.125, allocations: 7.906 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/1.125, allocations: 0 / 1.211 GB, free: 9.984 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 8.442e-05/1.125, allocations: 117.8 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.125, allocations: 11.94 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/1.125, allocations: 15.81 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.125, allocations: 0 / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.125, allocations: 3.984 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.125, allocations: 0 / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/1.126, allocations: 466.8 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.126, allocations: 4 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/1.126, allocations: 8 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.126, allocations: 4.062 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/1.126, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.126, allocations: 7.984 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.126, allocations: 3.938 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.664e-05/1.126, allocations: 77.83 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/1.126, allocations: 88.95 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/1.126, allocations: 4.031 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/1.126, allocations: 4 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/1.126, allocations: 3.984 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.126, allocations: 7.938 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.234e-05/1.126, allocations: 121.5 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002114/1.126, allocations: 7.906 kB / 1.212 GB, free: 8.93 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.0001038/1.126, allocations: 99.25 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.311e-05/1.126, allocations: 19.94 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.126, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/1.126, allocations: 12 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/1.127, allocations: 4.031 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/1.127, allocations: 170.7 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/1.127, allocations: 0.6965 MB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.427e-05/1.127, allocations: 12.41 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/1.127, allocations: 11.44 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.127, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.002536/1.13, allocations: 464.5 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches