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.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_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.0009647/0.0009647, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001157/0.001157, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.098/3.098, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 11.56 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4128, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0009516/0.4138, allocations: 0.5145 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.997e-05/0.4139, allocations: 39.84 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.414, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.414, allocations: 3.938 kB / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.414, allocations: 7.938 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.107e-05/0.4141, allocations: 15.98 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.4142, allocations: 63.75 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.4143, allocations: 24.16 kB / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.4143, allocations: 15.88 kB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.4143, allocations: 27.8 kB / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.4144, allocations: 4 kB / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-06/0.4144, allocations: 0 / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.4144, allocations: 7.984 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.4144, allocations: 37.64 kB / 1.059 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.371e-05/0.4145, allocations: 43.89 kB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4145, allocations: 3.938 kB / 1.059 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4145, allocations: 4 kB / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.4145, allocations: 0 / 1.059 GB, free: 4.516 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.0004552/0.415, allocations: 367.4 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.415, allocations: 16.03 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.4151, allocations: 7.906 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.4153, allocations: 182.9 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4154, allocations: 8 kB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.4154, allocations: 7.953 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4155, allocations: 103.3 kB / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4156, allocations: 3.938 kB / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4156, allocations: 0 / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.4156, allocations: 8 kB / 1.059 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.4157, allocations: 31.98 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.4162, allocations: 436.7 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.287e-05/0.4163, allocations: 49.16 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.4163, allocations: 17.78 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4163, allocations: 3.984 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4164, allocations: 42.45 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4164, allocations: 0 / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.4165, allocations: 49.77 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4166, allocations: 85.08 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.4168, allocations: 163.7 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4168, allocations: 25.7 kB / 1.06 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4169, allocations: 104 kB / 1.06 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.4169, allocations: 7.906 kB / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.4169, allocations: 0 / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.417, allocations: 322.8 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.417, allocations: 4 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.4171, allocations: 21.72 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.4171, allocations: 8 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4171, allocations: 0 / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.899e-05/0.4172, allocations: 65.47 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4172, allocations: 4 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4172, allocations: 3.953 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.4172, allocations: 0 / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.4173, allocations: 12.06 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4173, allocations: 3.984 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.4174, allocations: 7.844 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.4174, allocations: 4 kB / 1.061 GB, free: 2.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.4175, allocations: 113.8 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.4175, allocations: 7.906 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.4175, allocations: 7.875 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.4176, allocations: 7.953 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4176, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4176, allocations: 4 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.418, allocations: 470.8 kB / 1.061 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.418, allocations: 0 / 1.061 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.418, allocations: 11.89 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.418, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-06/0.418, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.418, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.418, allocations: 4.062 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.4181, allocations: 77.89 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.4182, allocations: 81.02 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.4182, allocations: 15.95 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.4182, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.4183, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.4183, allocations: 12.02 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.585e-05/0.4184, allocations: 114.1 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4184, allocations: 3.938 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001716/0.4186, allocations: 8 kB / 1.062 GB, free: 1.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.4187, allocations: 105.1 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.142e-05/0.4188, allocations: 16 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.4188, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.4188, allocations: 16.06 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.4189, allocations: 4 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.4193, allocations: 186.4 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4196, allocations: 0.6928 MB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.4196, allocations: 12.41 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.4196, allocations: 11.48 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4196, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.002352/0.422, allocations: 415.9 kB / 1.063 GB, free: 15.59 MB / 0.8262 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