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.001125/0.001124, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001042/0.001042, allocations: 183 kB / 17.34 MB, free: 5.762 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.403/1.403, 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 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 68.14 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9501/0.9516, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002273/0.9539, allocations: 0.8314 MB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001482/0.9541, allocations: 47.72 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.9541, allocations: 4 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.9542, allocations: 7.875 kB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.9543, allocations: 3.938 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.588e-05/0.9544, allocations: 27.91 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.9545, allocations: 59.84 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.9547, allocations: 39.98 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.9547, allocations: 23.92 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.9548, allocations: 27.8 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.9548, allocations: 4 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.9549, allocations: 8 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.9549, allocations: 19.91 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.9549, allocations: 35.75 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.9551, allocations: 75.7 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9551, allocations: 0 / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9551, allocations: 0 / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9551, allocations: 0 / 1.168 GB, free: 2.691 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.0004761/0.9556, allocations: 384.8 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9556, allocations: 8.922 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.9557, allocations: 8.844 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.9559, allocations: 208 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.9559, allocations: 4.375 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.956, allocations: 12.38 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.9561, allocations: 86.39 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.9561, allocations: 192 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.9562, allocations: 11.94 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9562, allocations: 0 / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.9563, allocations: 43.86 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.9568, allocations: 440.5 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/0.9569, allocations: 45.34 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.957, allocations: 13.78 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.957, allocations: 4 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.957, allocations: 42.55 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.957, allocations: 0 / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000185/0.9572, allocations: 57.47 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.9573, allocations: 81.11 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.9574, allocations: 160.2 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.9574, allocations: 29.7 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.9575, allocations: 104 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.9575, allocations: 8.156 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.9576, allocations: 17.72 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9577, allocations: 318.8 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.9577, allocations: 4 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.9577, allocations: 17.72 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.9578, allocations: 25.72 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9578, allocations: 4 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.747e-05/0.9579, allocations: 61.53 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9579, allocations: 6.344 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.9579, allocations: 7.938 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.958, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.958, allocations: 4 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.958, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.9581, allocations: 7.906 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.9581, allocations: 3.984 kB / 1.171 GB, free: 260 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.075e-05/0.9582, allocations: 121.8 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.9582, allocations: 11.84 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.9582, allocations: 15.81 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9583, allocations: 0 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9583, allocations: 0 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9583, allocations: 4 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.9587, allocations: 470.8 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9587, allocations: 7.984 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.9587, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.9587, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.9588, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9588, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9588, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.9589, allocations: 81.91 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.9589, allocations: 96.88 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.959, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.959, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.959, allocations: 7.938 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.959, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.9591, allocations: 119.2 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9591, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001937/0.9593, allocations: 11.91 kB / 1.172 GB, free: 15.2 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.0001277/0.9594, allocations: 103.3 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.9595, allocations: 16 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9596, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.9596, allocations: 7.938 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.9597, allocations: 11.94 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.9601, allocations: 192.7 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.9604, allocations: 0.6885 MB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.9604, allocations: 11.44 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9604, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.002462/0.9629, allocations: 0.8756 MB / 1.173 GB, free: 13.22 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/jenkins1/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