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.01356/0.01356, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.00193/0.00193, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.876/2.876, allocations: 461.8 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3789, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002894/0.3819, allocations: 0.8116 MB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.3823, allocations: 43.78 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.3824, allocations: 0 / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.526e-05/0.3825, allocations: 11.88 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3828, allocations: 15.86 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.3829, allocations: 15.98 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3831, allocations: 59.84 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.3834, allocations: 51.91 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3835, allocations: 31.8 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3836, allocations: 27.84 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.3836, allocations: 8 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.3837, allocations: 4 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.3837, allocations: 15.92 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.3838, allocations: 31.8 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.384, allocations: 83.58 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.384, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.637e-06/0.384, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.3841, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 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.0008035/0.3849, allocations: 383.2 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.3849, allocations: 12.61 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.385, allocations: 8.844 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3854, allocations: 188.2 kB / 1.209 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3854, allocations: 8.375 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3854, allocations: 4.375 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3857, allocations: 91.89 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3857, allocations: 4.188 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3858, allocations: 11.94 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3858, allocations: 0 / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3859, allocations: 39.91 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.3867, allocations: 428.6 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3869, allocations: 45.19 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.3869, allocations: 21.84 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.3869, allocations: 0 / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.387, allocations: 38.48 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.387, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000257/0.3872, allocations: 57.58 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.3873, allocations: 81.11 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3875, allocations: 158.2 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3875, allocations: 25.7 kB / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.3876, allocations: 104 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.3876, allocations: 7.906 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.3876, allocations: 17.62 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3878, allocations: 323 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.3878, allocations: 8 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.3879, allocations: 17.72 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.3879, allocations: 33.64 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3879, allocations: 3.938 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.318e-05/0.388, allocations: 53.64 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3881, allocations: 12.06 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3881, allocations: 7.922 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3881, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.3882, allocations: 7.984 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3882, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.3882, allocations: 11.84 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3882, allocations: 0 / 1.211 GB, free: 5.965 MB / 0.9669 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.975e-05/0.3883, allocations: 109.8 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3884, allocations: 11.91 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.3884, allocations: 15.81 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3884, allocations: 3.984 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3884, allocations: 4 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3884, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.3889, allocations: 474.8 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3889, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.3889, allocations: 4 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3889, allocations: 96 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3889, allocations: 4.062 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3889, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.389, allocations: 7.922 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.3891, allocations: 81.73 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.3891, allocations: 89.02 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3892, allocations: 4 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.3892, allocations: 4.031 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3892, allocations: 3.984 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3892, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3893, allocations: 121.7 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3893, allocations: 3.938 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001955/0.3895, allocations: 8 kB / 1.212 GB, free: 4.922 MB / 0.9669 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.0001365/0.3897, allocations: 99.25 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.3898, allocations: 23.94 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3898, allocations: 0 / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.3898, allocations: 4 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.39, allocations: 17.5 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.3904, allocations: 166.6 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3908, allocations: 0.6931 MB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.3908, allocations: 8.422 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.3909, allocations: 11.44 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3909, allocations: 0 / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of Templates: time 0.002973/0.3939, allocations: 457 kB / 1.213 GB, free: 3.391 MB / 0.9669 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