Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001563/0.001563, 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.001551/0.001551, allocations: 189.7 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.369/1.369, 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 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9514, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002203/0.9537, allocations: 0.8303 MB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.9538, allocations: 36.94 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.9539, allocations: 6.125 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.9539, allocations: 5.578 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.954, allocations: 10.22 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.928e-05/0.9541, allocations: 15.72 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.9543, allocations: 70.56 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.9545, allocations: 38.91 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.9545, allocations: 26.08 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.9546, allocations: 30.27 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.9546, allocations: 5.688 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.9547, allocations: 6.062 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.9547, allocations: 16.14 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.9547, allocations: 30.09 kB / 1.09 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.9549, allocations: 84.59 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9549, allocations: 0 / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.346e-06/0.9549, allocations: 0 / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9549, allocations: 1.281 kB / 1.09 GB, free: 4.734 MB / 0.8575 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.0004315/0.9554, allocations: 373.5 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.9554, allocations: 10.44 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.9555, allocations: 13.19 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.9557, allocations: 188.2 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.9557, allocations: 11.5 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.9557, allocations: 13.7 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.9559, allocations: 86.72 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.9559, allocations: 192 / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.956, allocations: 9.344 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.956, allocations: 3.141 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.9561, allocations: 43.45 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.9566, allocations: 442.5 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.9567, allocations: 41.05 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.9567, allocations: 19.95 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.9568, allocations: 5.797 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.9568, allocations: 35.38 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.9568, allocations: 0.75 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001926/0.957, allocations: 56.94 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.957, allocations: 78.7 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.9572, allocations: 159.2 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.9572, allocations: 25.7 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.9573, allocations: 107.6 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.9573, allocations: 9.438 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.9573, allocations: 18.58 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.9574, allocations: 316.3 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.9574, allocations: 7.406 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.9575, allocations: 23.58 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.9575, allocations: 28.77 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9575, allocations: 0 / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.677e-05/0.9576, allocations: 60.83 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9576, allocations: 5.5 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.9577, allocations: 5.031 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9577, allocations: 1.609 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.9578, allocations: 5.984 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9578, allocations: 1.188 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.9578, allocations: 6.406 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.9578, allocations: 1.156 kB / 1.092 GB, free: 2.668 MB / 0.8575 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 6.396e-05/0.9579, allocations: 118.5 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.9579, allocations: 11.62 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.958, allocations: 12.67 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.958, allocations: 0.9062 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.958, allocations: 1.547 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.958, allocations: 1.156 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.9583, allocations: 474.4 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9584, allocations: 0.8906 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.9584, allocations: 3.125 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9584, allocations: 1.219 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.9584, allocations: 1.953 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9584, allocations: 3.938 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9584, allocations: 5.25 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.332e-05/0.9585, allocations: 88.47 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.9585, allocations: 90.41 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.9586, allocations: 1.422 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.9586, allocations: 0.8438 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.9586, allocations: 1.891 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.9586, allocations: 1.062 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.954e-05/0.9587, allocations: 122 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9587, allocations: 0 / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002109/0.9589, allocations: 15.38 kB / 1.093 GB, free: 1.742 MB / 0.8575 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.0001334/0.9591, allocations: 105.8 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.9592, allocations: 20.11 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9592, allocations: 0 / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.9592, allocations: 8.391 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.9594, allocations: 13.22 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.9597, allocations: 193.4 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.96, allocations: 0.6926 MB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.96, allocations: 10.94 kB / 1.094 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.96, allocations: 0 / 1.094 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.002852/0.9629, allocations: 0.8691 MB / 1.095 GB, free: 16.66 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches