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.008761/0.008761, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.00151/0.00151, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.507/1.507, allocations: 222.9 MB / 240.4 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.457/2.457, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002218/1.063, allocations: 0.8235 MB / 1.089 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/1.063, allocations: 40.08 kB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/1.063, allocations: 2.156 kB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/1.063, allocations: 9.938 kB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/1.063, allocations: 9.766 kB / 1.089 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.316e-05/1.063, allocations: 19.95 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/1.064, allocations: 63.73 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/1.064, allocations: 41.5 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/1.064, allocations: 25.66 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/1.064, allocations: 37.67 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/1.064, allocations: 10.28 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/1.064, allocations: 6.406 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/1.064, allocations: 8.672 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/1.064, allocations: 37.67 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/1.064, allocations: 77.22 kB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.064, allocations: 0 / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.064, allocations: 0 / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.099e-06/1.064, allocations: 1.406 kB / 1.089 GB, free: 5.012 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.0004144/1.065, allocations: 376 kB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.065, allocations: 13.03 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/1.065, allocations: 13.91 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/1.065, allocations: 192.4 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.065, allocations: 7.312 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/1.065, allocations: 5.719 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/1.065, allocations: 94.7 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.065, allocations: 0.8438 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.065, allocations: 5.219 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.065, allocations: 6.312 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/1.065, allocations: 35.03 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/1.066, allocations: 438.9 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/1.066, allocations: 44.81 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/1.066, allocations: 25.2 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/1.066, allocations: 1.156 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.066, allocations: 40.25 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/1.066, allocations: 3.938 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/1.066, allocations: 57 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/1.066, allocations: 78.36 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/1.066, allocations: 163.6 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/1.066, allocations: 25.7 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/1.066, allocations: 104.2 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/1.066, allocations: 9.25 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/1.066, allocations: 13.95 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/1.067, allocations: 320.8 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/1.067, allocations: 7.359 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/1.067, allocations: 19.48 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/1.067, allocations: 31.78 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.067, allocations: 0 / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.043e-05/1.067, allocations: 53.45 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.067, allocations: 9.125 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.067, allocations: 5.562 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.067, allocations: 1 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/1.067, allocations: 9.906 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.067, allocations: 5.547 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/1.067, allocations: 6.031 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/1.067, allocations: 1.156 kB / 1.091 GB, free: 2.934 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 5.919e-05/1.067, allocations: 115.2 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/1.067, allocations: 8.297 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/1.067, allocations: 15.58 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/1.067, allocations: 0.9375 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.067, allocations: 2.266 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.067, allocations: 4 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/1.067, allocations: 470.1 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.067, allocations: 1.516 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/1.067, allocations: 3.562 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.067, allocations: 1.359 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.068, allocations: 0.5938 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.068, allocations: 1.406 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.068, allocations: 4.062 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/1.068, allocations: 81.53 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/1.068, allocations: 98.34 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.068, allocations: 1.531 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/1.068, allocations: 0.6094 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/1.068, allocations: 6.266 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/1.068, allocations: 0.9062 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001046/1.068, allocations: 122.3 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.068, allocations: 0 / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001971/1.068, allocations: 7.344 kB / 1.092 GB, free: 2.02 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.0001314/1.068, allocations: 99.2 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000102/1.068, allocations: 19.84 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.068, allocations: 128 / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/1.068, allocations: 12.67 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/1.068, allocations: 13.72 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/1.069, allocations: 164.5 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/1.069, allocations: 0.6922 MB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.741e-05/1.069, allocations: 11.98 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/1.069, allocations: 11 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.069, allocations: 0 / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Templates: time 0.002919/1.072, allocations: 483.4 kB / 1.094 GB, free: 0.9531 MB / 0.8575 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/jenkins/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