Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001884/0.001884, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002009/0.002009, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.089/3.089, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.298e-06/4.298e-06, allocations: 0 / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.396e-05/4.826e-05, allocations: 3.406 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00277/0.002818, allocations: 0.6648 MB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.004549, allocations: 0.844 MB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.004598, allocations: 5.531 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.00464, allocations: 0 / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.825e-05/0.004738, allocations: 4 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.005356, allocations: 15.92 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.005477, allocations: 20.8 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.005619, allocations: 11.98 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.005747, allocations: 16.7 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.005794, allocations: 4 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.005815, allocations: 1.688 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.005881, allocations: 8 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.005906, allocations: 3.984 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.005935, allocations: 8 kB / 0.8125 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.006101, allocations: 27.83 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006103, allocations: 1.531 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006103, allocations: 0 / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.006112, allocations: 4 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007367/0.006848, allocations: 358.1 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.006911, allocations: 8.031 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.007133, allocations: 16.92 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.007305, allocations: 104.6 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.007324, allocations: 4.375 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.007335, allocations: 5.312 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.007525, allocations: 42.2 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.007541, allocations: 0.7188 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.007561, allocations: 4.359 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.007569, allocations: 1.125 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.007697, allocations: 29.11 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.008179, allocations: 247.8 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.008306, allocations: 49.56 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.008367, allocations: 11.75 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.008396, allocations: 4 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.008433, allocations: 37.38 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.008434, allocations: 0 / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003104/0.008744, allocations: 70.11 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.008796, allocations: 60.05 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008924, allocations: 161.9 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.008948, allocations: 26.23 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.009029, allocations: 128.5 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.009049, allocations: 7.953 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.009094, allocations: 23.36 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002653/0.009359, allocations: 492.1 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.009423, allocations: 16.56 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.009473, allocations: 12.67 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.00958, allocations: 28.36 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009581, allocations: 0.9375 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001458/0.009727, allocations: 59.06 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.009742, allocations: 7.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.009749, allocations: 3.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.009767, allocations: 3.984 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.009838, allocations: 8.812 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.009842, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.009871, allocations: 0.9375 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.00988, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.000115/0.009995, allocations: 153.8 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.01002, allocations: 3.984 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.0102, allocations: 65.78 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.0102, allocations: 0 / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01021, allocations: 2.219 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01021, allocations: 3.984 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.01037, allocations: 112.6 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01038, allocations: 4 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.01043, allocations: 15.92 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01043, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01044, allocations: 3.031 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01044, allocations: 3.938 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01044, allocations: 192 / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.01069, allocations: 199.9 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.01069, allocations: 3.984 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.01071, allocations: 7.984 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.01077, allocations: 3.938 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.01082, allocations: 9.344 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.01082, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.307e-05/0.0109, allocations: 127.2 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0109, allocations: 0.625 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002001/0.0111, allocations: 4 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001188/0.01122, allocations: 93 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.01142, allocations: 39.61 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01142, allocations: 5.031 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.01149, allocations: 19.67 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01172, allocations: 4.656 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.01205, allocations: 119.2 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.397e-05/0.01212, allocations: 67.17 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.01215, allocations: 4 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.01218, allocations: 8.5 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of SimCode: time 3.9e-07/0.01218, allocations: 0 / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.003274/0.01545, allocations: 479.9 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.105727521935478]