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.001405/0.001405, allocations: 79.86 kB / 19.18 MB, free: 2.531 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.001632/0.001632, allocations: 163.5 kB / 22.46 MB, free: 5.359 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.54/1.54, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.082/3.082, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.484e-05, allocations: 6.219 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002258/0.002293, allocations: 0.7966 MB / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.002445, allocations: 39.84 kB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.002512, allocations: 4 kB / 1.001 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.00255, allocations: 7.875 kB / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.002658, allocations: 11.88 kB / 1.001 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.758e-05/0.002716, allocations: 15.98 kB / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.002845, allocations: 63.77 kB / 1.001 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.002999, allocations: 35.91 kB / 1.001 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.003094, allocations: 35.91 kB / 1.001 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.003173, allocations: 19.91 kB / 1.001 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.003198, allocations: 8 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.003208, allocations: 8 kB / 1.001 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.003234, allocations: 15.92 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.00328, allocations: 23.92 kB / 1.001 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003437, allocations: 67.75 kB / 1.001 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.00344, allocations: 0 / 1.001 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003441, allocations: 0 / 1.001 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.003447, allocations: 0 / 1.001 GB, free: 6.125 MB / 0.9512 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.0005678/0.004014, allocations: 306 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.004071, allocations: 15.97 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.004119, allocations: 8.891 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.004357, allocations: 133.6 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.004374, allocations: 8.375 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.004389, allocations: 4.375 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.004595, allocations: 102.1 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.004608, allocations: 4.125 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.004621, allocations: 4.375 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.004631, allocations: 4.375 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.004718, allocations: 35.92 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.005316, allocations: 356.4 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.005396, allocations: 41.14 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.005439, allocations: 21.83 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.005455, allocations: 4.094 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.005484, allocations: 34.5 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.005485, allocations: 0 / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000202/0.005687, allocations: 49.59 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.005801, allocations: 77.11 kB / 1.002 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.005948, allocations: 139 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.005969, allocations: 25.95 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.006059, allocations: 119.9 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.00607, allocations: 7.953 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.006111, allocations: 13.72 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.006279, allocations: 318.8 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.006298, allocations: 4 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.006332, allocations: 21.72 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.006387, allocations: 29.64 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006389, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.309e-05/0.006482, allocations: 57.66 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.006496, allocations: 4 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.006503, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.006518, allocations: 0 / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.006591, allocations: 11.92 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.006599, allocations: 3.938 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.006631, allocations: 7.938 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006635, allocations: 3.938 kB / 1.003 GB, free: 3.973 MB / 0.9512 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.0001008/0.006736, allocations: 113.8 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.006784, allocations: 11.95 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.006807, allocations: 11.53 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006809, allocations: 0 / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.006813, allocations: 4 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.006819, allocations: 7.922 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.007229, allocations: 406.5 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.00723, allocations: 0 / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.007254, allocations: 7.984 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.007256, allocations: 0 / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.007264, allocations: 7.875 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007265, allocations: 0 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.007267, allocations: 4.062 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.606e-05/0.007363, allocations: 77.89 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.007383, allocations: 3.984 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.007399, allocations: 7.938 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.007417, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.007429, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.007431, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.007511, allocations: 103.3 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007511, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001929/0.007704, allocations: 7.953 kB / 1.004 GB, free: 3.137 MB / 0.9512 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.0001245/0.007828, allocations: 103.3 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.007929, allocations: 19.92 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007931, allocations: 4 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.007947, allocations: 8 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.008098, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.008492, allocations: 168.8 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.008599, allocations: 83.52 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.008633, allocations: 4 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.008663, allocations: 8.5 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.008663, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of Templates: time 0.002969/0.01163, allocations: 332.7 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.483535464853048]