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.0007944/0.0007944, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002062, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007409/0.0007409, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001806, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1017/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.97/1.97, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5552/2.525, allocations: 123.3 MB / 0.7283 GB, free: 5.703 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.575e-06/2.575e-06, allocations: 0 / 0.7297 GB, free: 4.32 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.981e-05, allocations: 3 kB / 0.7297 GB, free: 4.316 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002392/0.002422, allocations: 0.7264 MB / 0.7304 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.003334, allocations: 0.8675 MB / 0.7313 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.003363, allocations: 5.391 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.003386, allocations: 0 / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.00342, allocations: 2.422 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.587e-05/0.003516, allocations: 19.86 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.003593, allocations: 16.81 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.003686, allocations: 21.39 kB / 0.7313 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.003778, allocations: 13.55 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.003831, allocations: 10.38 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003846, allocations: 0 / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.00391, allocations: 4 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.003928, allocations: 5.859 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.003947, allocations: 4.766 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.004052, allocations: 16.27 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.004066, allocations: 0 / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004067, allocations: 0 / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.004083, allocations: 0.875 kB / 0.7314 GB, free: 2.645 MB / 0.698 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.0004423/0.004525, allocations: 236.7 kB / 0.7316 GB, free: 2.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.004569, allocations: 12.03 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.00472, allocations: 82.05 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.004845, allocations: 110.2 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.004858, allocations: 10.02 kB / 0.7318 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.00487, allocations: 4.375 kB / 0.7318 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004992, allocations: 55.72 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.005001, allocations: 192 / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.005008, allocations: 1.188 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005015, allocations: 384 / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.005041, allocations: 8.438 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.005267, allocations: 140.3 kB / 0.732 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.005315, allocations: 31.73 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.005327, allocations: 5.625 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.005343, allocations: 5.812 kB / 0.7321 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005363, allocations: 34.56 kB / 0.7321 GB, free: 1.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.005365, allocations: 0 / 0.7321 GB, free: 1.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.771e-05/0.005462, allocations: 37.73 kB / 0.7321 GB, free: 1.773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.005489, allocations: 60.5 kB / 0.7322 GB, free: 1.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.005537, allocations: 102.7 kB / 0.7323 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.005546, allocations: 26.36 kB / 0.7323 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.005573, allocations: 84.8 kB / 0.7324 GB, free: 1.473 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.005589, allocations: 7.938 kB / 0.7324 GB, free: 1.465 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.005609, allocations: 14.84 kB / 0.7324 GB, free: 1.445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.005681, allocations: 314.8 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.005687, allocations: 0 / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.005694, allocations: 9.312 kB / 0.7327 GB, free: 1.121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.005713, allocations: 9.641 kB / 0.7327 GB, free: 1.109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005715, allocations: 0.625 kB / 0.7327 GB, free: 1.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.882e-05/0.005753, allocations: 42.44 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.005764, allocations: 4 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.005768, allocations: 0 / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.00578, allocations: 0.9062 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.005835, allocations: 12.7 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.005837, allocations: 1.188 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.005851, allocations: 4 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005856, allocations: 7.984 kB / 0.7328 GB, free: 1.035 MB / 0.698 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 4.664e-05/0.005903, allocations: 106.8 kB / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.005913, allocations: 0 / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.005985, allocations: 46.12 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005987, allocations: 0.7656 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.005989, allocations: 5.625 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.005992, allocations: 0 / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.618e-05/0.006068, allocations: 65.89 kB / 0.733 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00607, allocations: 3.984 kB / 0.733 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.006092, allocations: 11.94 kB / 0.733 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.006098, allocations: 4.828 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.0061, allocations: 0.5469 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.006104, allocations: 1.25 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006104, allocations: 0 / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.006107, allocations: 11.92 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.262e-05/0.00617, allocations: 128.8 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.006178, allocations: 0.875 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.006205, allocations: 4 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.006233, allocations: 9.234 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.006235, allocations: 0 / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.205e-05/0.006247, allocations: 12.8 kB / 0.7332 GB, free: 0.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006247, allocations: 1.031 kB / 0.7332 GB, free: 0.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001084/0.006356, allocations: 4 kB / 0.7332 GB, free: 0.5781 MB / 0.698 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 7.454e-05/0.00643, allocations: 80.88 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.247e-05/0.006483, allocations: 15.28 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.006486, allocations: 0 / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.006506, allocations: 10.34 kB / 0.7333 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.006659, allocations: 47.78 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.006984, allocations: 105.4 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.007057, allocations: 51.38 kB / 0.7335 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.007073, allocations: 4.75 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.007113, allocations: 52.47 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.007113, allocations: 0.6562 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of Templates: time 0.001796/0.008909, allocations: 473.3 kB / 0.734 GB, free: 15.71 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.067636391147971]