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.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.001392/0.001392, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001488/0.001488, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.523/1.523, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.062/3.062, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002406/0.002406, allocations: 74.22 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002157/1.029, allocations: 0.7932 MB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/1.029, allocations: 39.69 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/1.029, allocations: 3.25 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/1.029, allocations: 9.469 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/1.029, allocations: 12.67 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.737e-05/1.029, allocations: 16.41 kB / 1.187 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/1.029, allocations: 63.66 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/1.029, allocations: 30.64 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/1.029, allocations: 31.36 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/1.029, allocations: 31.28 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/1.029, allocations: 5.75 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/1.029, allocations: 9 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/1.029, allocations: 17.2 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/1.029, allocations: 24.95 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/1.029, allocations: 74.98 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.029, allocations: 4.703 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.464e-06/1.029, allocations: 1.031 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.029, allocations: 0 / 1.188 GB, free: 15.47 MB / 1.076 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.0003767/1.03, allocations: 300.5 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.03, allocations: 13.91 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/1.03, allocations: 13.78 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/1.03, allocations: 132.2 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.03, allocations: 8.094 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/1.03, allocations: 5.25 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/1.03, allocations: 105.4 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.03, allocations: 0.9375 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.03, allocations: 5 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.03, allocations: 2.469 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/1.03, allocations: 38.55 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/1.031, allocations: 358.2 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.318e-05/1.031, allocations: 38.06 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/1.031, allocations: 22.53 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/1.031, allocations: 2.141 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/1.031, allocations: 33.41 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.031, allocations: 0 / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/1.031, allocations: 54.88 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/1.031, allocations: 79.36 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.031, allocations: 134.5 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/1.031, allocations: 26.83 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/1.031, allocations: 108.8 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/1.031, allocations: 9.781 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/1.031, allocations: 17.8 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/1.031, allocations: 319.4 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/1.031, allocations: 3.766 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/1.031, allocations: 24.48 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/1.031, allocations: 27.89 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.031, allocations: 4 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.111e-05/1.031, allocations: 56.09 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.032, allocations: 6.062 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.032, allocations: 0.5156 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.032, allocations: 5.5 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/1.032, allocations: 9.688 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.032, allocations: 1.875 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/1.032, allocations: 4.984 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/1.032, allocations: 1.125 kB / 1.19 GB, free: 13.65 MB / 1.076 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.396e-05/1.032, allocations: 119.2 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/1.032, allocations: 7.188 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/1.032, allocations: 14.5 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.032, allocations: 1.438 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.032, allocations: 0.75 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.032, allocations: 5 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/1.032, allocations: 412.2 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.032, allocations: 5.094 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/1.032, allocations: 2.906 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.032, allocations: 1.938 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/1.032, allocations: 5.188 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.032, allocations: 1.281 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.032, allocations: 0.75 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.435e-05/1.032, allocations: 72.66 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/1.032, allocations: 12.52 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/1.032, allocations: 1.797 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/1.032, allocations: 4 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/1.032, allocations: 1.734 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/1.032, allocations: 2.766 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.838e-05/1.032, allocations: 99.8 kB / 1.19 GB, free: 12.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.032, allocations: 0 / 1.19 GB, free: 12.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001874/1.032, allocations: 19.7 kB / 1.19 GB, free: 12.9 MB / 1.076 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 8.027e-05/1.033, allocations: 94.53 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.338e-05/1.033, allocations: 18.78 kB / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.033, allocations: 1.312 kB / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/1.033, allocations: 4 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/1.033, allocations: 14.62 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/1.033, allocations: 156.7 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/1.033, allocations: 85.12 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.373e-05/1.033, allocations: 3.531 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/1.033, allocations: 11.97 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.033, allocations: 0 / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of Templates: time 0.003844/1.037, allocations: 332.7 kB / 1.191 GB, free: 12.47 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.344790971954353]