Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.00853/0.00853, allocations: 97 kB / 15.73 MB, free: 5.949 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.001683/0.001683, allocations: 192.9 kB / 16.67 MB, free: 5.871 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 63.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002222/1.069, allocations: 0.8326 MB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/1.069, allocations: 35.8 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/1.069, allocations: 0 / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/1.069, allocations: 7.922 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/1.069, allocations: 15.88 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.89e-05/1.069, allocations: 11.98 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/1.069, allocations: 71.77 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/1.069, allocations: 43.97 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/1.069, allocations: 19.94 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/1.07, allocations: 31.78 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/1.07, allocations: 8 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/1.07, allocations: 8 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/1.07, allocations: 15.92 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/1.07, allocations: 31.81 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/1.07, allocations: 76.14 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.07, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.07, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.07, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.8887 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.0004902/1.07, allocations: 383.1 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.07, allocations: 12.92 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/1.07, allocations: 12.84 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/1.071, allocations: 204.1 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/1.071, allocations: 8.375 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.071, allocations: 4.375 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/1.071, allocations: 96.89 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.071, allocations: 4.125 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.071, allocations: 7.938 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/1.071, allocations: 4 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/1.071, allocations: 35.91 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/1.072, allocations: 440.7 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/1.072, allocations: 45.17 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/1.072, allocations: 21.84 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/1.072, allocations: 4 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.072, allocations: 34.56 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.072, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001955/1.072, allocations: 61.52 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/1.072, allocations: 77.11 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/1.072, allocations: 160.9 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.072, allocations: 29.7 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/1.072, allocations: 104 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/1.072, allocations: 7.938 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/1.072, allocations: 13.72 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002422/1.073, allocations: 318.8 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/1.073, allocations: 11.98 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/1.073, allocations: 17.66 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/1.073, allocations: 29.72 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.073, allocations: 0 / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.111e-05/1.073, allocations: 65.53 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.073, allocations: 4 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.073, allocations: 3.938 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.073, allocations: 0 / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/1.073, allocations: 8 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.073, allocations: 4.062 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/1.073, allocations: 7.938 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/1.073, allocations: 4 kB / 1.17 GB, free: 136 kB / 0.8887 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.585e-05/1.073, allocations: 117.8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/1.073, allocations: 11.98 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/1.073, allocations: 7.812 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.073, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.073, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/1.073, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/1.073, allocations: 478.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.074, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/1.074, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.074, allocations: 7.922 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.074, allocations: 3.938 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.074, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.074, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.311e-05/1.074, allocations: 77.95 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/1.074, allocations: 93.05 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/1.074, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/1.074, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/1.074, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.074, allocations: 4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.678e-05/1.074, allocations: 122.1 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 4 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001802/1.074, allocations: 8 kB / 1.171 GB, free: 15.09 MB / 0.9044 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.0001191/1.074, allocations: 103.2 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/1.074, allocations: 15.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.074, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/1.074, allocations: 7.938 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/1.074, allocations: 12.19 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/1.075, allocations: 166.5 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/1.075, allocations: 0.6924 MB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.393e-05/1.075, allocations: 8.422 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/1.075, allocations: 15.44 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.075, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of Templates: time 0.002433/1.078, allocations: 458.3 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches