Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 105.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.356/3.356, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 72.59 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4813, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002638/0.4839, allocations: 0.8287 MB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001859/0.4841, allocations: 43.72 kB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.4842, allocations: 4 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.4842, allocations: 7.875 kB / 1.322 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.4843, allocations: 15.86 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.281e-05/0.4844, allocations: 19.98 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.4846, allocations: 59.84 kB / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.4847, allocations: 35.91 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.4848, allocations: 31.86 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.4849, allocations: 31.73 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.4849, allocations: 4 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.4849, allocations: 8 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.4849, allocations: 7.984 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.485, allocations: 39.73 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.4852, allocations: 79.56 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4852, allocations: 8 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4852, allocations: 0 / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.4852, allocations: 0 / 1.322 GB, free: 1.594 MB / 1.014 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.0007205/0.4859, allocations: 383.1 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.486, allocations: 15.97 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.486, allocations: 8.891 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.4864, allocations: 192.2 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4864, allocations: 4.375 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.4864, allocations: 12.38 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.4866, allocations: 95.8 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4866, allocations: 192 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4867, allocations: 3.938 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4867, allocations: 4 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.4868, allocations: 39.97 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.4874, allocations: 440.7 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.4875, allocations: 37.22 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.4875, allocations: 17.78 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.4876, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.4876, allocations: 46.58 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4876, allocations: 0 / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002082/0.4878, allocations: 57.48 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.4879, allocations: 81.05 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4881, allocations: 160.3 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4881, allocations: 25.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.4882, allocations: 104 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.4882, allocations: 16.14 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.4882, allocations: 17.72 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4884, allocations: 318.8 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.4884, allocations: 8 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.4884, allocations: 13.72 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.4885, allocations: 33.64 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4885, allocations: 4 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.794e-05/0.4886, allocations: 53.75 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4886, allocations: 4 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4886, allocations: 3.938 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4886, allocations: 3.984 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.4887, allocations: 15.92 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4887, allocations: 4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.4887, allocations: 7.953 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.4887, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 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 0.0001051/0.4888, allocations: 117.9 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.4889, allocations: 7.953 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.4889, allocations: 15.81 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4889, allocations: 3.984 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4889, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4889, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.4895, allocations: 474.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4895, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.4895, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4895, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4895, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4895, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4895, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.4896, allocations: 89.8 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.4897, allocations: 93 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.4897, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.4897, allocations: 3.938 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.4898, allocations: 7.984 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.4898, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001043/0.4899, allocations: 120.9 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4899, allocations: 0 / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001917/0.4901, allocations: 8 kB / 1.325 GB, free: 14.1 MB / 1.029 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.0001488/0.4902, allocations: 99.28 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.4903, allocations: 15.94 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4903, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.4903, allocations: 8 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.4905, allocations: 19.33 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.4909, allocations: 159 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.4912, allocations: 0.6963 MB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.4913, allocations: 8.422 kB / 1.326 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.4913, allocations: 15.38 kB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.4913, allocations: 0 / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Templates: time 0.003233/0.4945, allocations: 468.5 kB / 1.327 GB, free: 12.56 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.574119228404015]