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.001112/0.001112, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009771/0.009772, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 15.72 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3989, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001373/0.4003, allocations: 0.5453 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.4005, allocations: 43.78 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.4005, allocations: 0 / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.4006, allocations: 3.938 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.4007, allocations: 7.922 kB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.015e-05/0.4007, allocations: 12 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.4009, allocations: 63.75 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.401, allocations: 43.97 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.4011, allocations: 19.8 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.4012, allocations: 15.88 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4012, allocations: 4 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.4012, allocations: 0 / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.4012, allocations: 15.92 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.4013, allocations: 53.44 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.4014, allocations: 60.05 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4014, allocations: 3.984 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4014, allocations: 4 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.4014, allocations: 0 / 1.06 GB, free: 4.562 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.0004748/0.4019, allocations: 363.3 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.402, allocations: 8.031 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.402, allocations: 8.844 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4023, allocations: 196.2 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4023, allocations: 12.3 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.4024, allocations: 8.375 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4026, allocations: 89.36 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.4026, allocations: 192 / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.4026, allocations: 11.94 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4026, allocations: 3.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.4027, allocations: 39.92 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.4034, allocations: 440.5 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.4035, allocations: 41.39 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.4035, allocations: 25.7 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.4036, allocations: 0 / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/0.4036, allocations: 34.56 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4036, allocations: 0 / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.4038, allocations: 61.48 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4039, allocations: 81.09 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4041, allocations: 157 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.4041, allocations: 25.7 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.4042, allocations: 111.9 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.4042, allocations: 4.25 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.4042, allocations: 17.7 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4043, allocations: 314.8 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.4044, allocations: 8 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.4044, allocations: 17.7 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.4044, allocations: 29.72 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4044, allocations: 4 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.95e-05/0.4045, allocations: 57.53 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4046, allocations: 4 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4046, allocations: 3.938 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4046, allocations: 4 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.4046, allocations: 4 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4047, allocations: 0 / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.4047, allocations: 15.84 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.4047, allocations: 0 / 1.062 GB, free: 2.145 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/0.4048, allocations: 119.4 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.4048, allocations: 11.91 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.4049, allocations: 15.8 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4049, allocations: 0 / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4049, allocations: 4 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4049, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.4054, allocations: 474.8 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4054, allocations: 7.875 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.4054, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4054, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4054, allocations: 4 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4054, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4054, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.4055, allocations: 81.86 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.4056, allocations: 93 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.4056, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.4056, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.4057, allocations: 7.938 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.4057, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001098/0.4058, allocations: 121.9 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4058, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001823/0.406, allocations: 11.91 kB / 1.063 GB, free: 1.098 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 (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.0001276/0.4061, allocations: 103.3 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.399e-05/0.4062, allocations: 12 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4062, allocations: 4 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.4062, allocations: 11.92 kB / 1.063 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.0001689/0.4064, allocations: 7.938 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.4067, allocations: 172.9 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.407, allocations: 0.6965 MB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.4071, allocations: 8.438 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.4071, allocations: 11.44 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4071, allocations: 0 / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of Templates: time 0.002787/0.4099, allocations: 436.6 kB / 1.064 GB, free: 15.58 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