Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0009555/0.0009555, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002497, 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.000873/0.000873, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002261, 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.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09865/1.119, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.899/1.899, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5427/2.442, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.717e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002214/0.002241, allocations: 0.6147 MB / 0.7302 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 2.02e-05/0.002261, allocations: 0 / 0.7302 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.002286, allocations: 0.6875 kB / 0.7302 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.002312, allocations: 0.7656 kB / 0.7302 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.831e-05/0.00233, allocations: 5.094 kB / 0.7303 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.172e-05/0.002352, allocations: 4 kB / 0.7303 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.002425, allocations: 1.094 kB / 0.7303 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.002488, allocations: 11.08 kB / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.002543, allocations: 4.984 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.002574, allocations: 4 kB / 0.7303 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.002596, allocations: 1.094 kB / 0.7303 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.002601, allocations: 0 / 0.7303 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.002619, allocations: 0 / 0.7303 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.002639, allocations: 4.547 kB / 0.7303 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.917e-05/0.002718, allocations: 0.7656 kB / 0.7303 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.002734, allocations: 1.156 kB / 0.7303 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.002736, allocations: 0.75 kB / 0.7303 GB, free: 3.801 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.002757, allocations: 0 / 0.7303 GB, free: 3.801 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003463/0.003103, allocations: 214.2 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.003149, allocations: 12.03 kB / 0.7305 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.003185, allocations: 0.9375 kB / 0.7305 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.003298, allocations: 107.4 kB / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003311, allocations: 0.9062 kB / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.003323, allocations: 1.875 kB / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.132e-05/0.003404, allocations: 26.27 kB / 0.7306 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.003413, allocations: 4.125 kB / 0.7306 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.00342, allocations: 384 / 0.7306 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.00343, allocations: 5.406 kB / 0.7306 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.032e-05/0.00344, allocations: 3.938 kB / 0.7306 GB, free: 3.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.003699, allocations: 295.4 kB / 0.7309 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.003811, allocations: 166.7 kB / 0.7311 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.003839, allocations: 89.09 kB / 0.7312 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.003862, allocations: 75.28 kB / 0.7312 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.003911, allocations: 109.8 kB / 0.7313 GB, free: 2.625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.003912, allocations: 0.7188 kB / 0.7313 GB, free: 2.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.497e-05/0.003987, allocations: 33.3 kB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.004044, allocations: 131.9 kB / 0.7315 GB, free: 2.449 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.004125, allocations: 98.7 kB / 0.7316 GB, free: 2.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.004134, allocations: 25.7 kB / 0.7316 GB, free: 2.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.00418, allocations: 89.78 kB / 0.7317 GB, free: 2.219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.004181, allocations: 0.6562 kB / 0.7317 GB, free: 2.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.004207, allocations: 9.719 kB / 0.7317 GB, free: 2.203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.004313, allocations: 310.8 kB / 0.732 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-06/0.004319, allocations: 9.25 kB / 0.732 GB, free: 1.883 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-06/0.004323, allocations: 4 kB / 0.732 GB, free: 1.879 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.004348, allocations: 75.28 kB / 0.7321 GB, free: 1.805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-05/0.004375, allocations: 76.16 kB / 0.7322 GB, free: 1.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.831e-05/0.004433, allocations: 30.36 kB / 0.7322 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.004469, allocations: 81.81 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.004502, allocations: 83.2 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.705e-05/0.004559, allocations: 154.6 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.676e-05/0.004586, allocations: 80.12 kB / 0.7326 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.878e-05/0.004635, allocations: 158.5 kB / 0.7327 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.0047, allocations: 75.28 kB / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.004788, allocations: 85.09 kB / 0.7329 GB, free: 0.9922 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 (0): * Single equations (assignments): 0 * 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.0001046/0.004892, allocations: 257 kB / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.004948, allocations: 113 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.005012, allocations: 104.9 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.538e-05/0.005087, allocations: 180.2 kB / 0.7335 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.551e-05/0.005173, allocations: 184.8 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.904e-05/0.005272, allocations: 184.2 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.005469, allocations: 322.9 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/0.005503, allocations: 101 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.005542, allocations: 104.9 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.00558, allocations: 109.5 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.999e-05/0.00564, allocations: 186.1 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.005699, allocations: 176.3 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.759e-05/0.005757, allocations: 180.6 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/0.005811, allocations: 184.1 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.005953, allocations: 313.2 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.006028, allocations: 185.6 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.006101, allocations: 104.9 kB / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.006161, allocations: 176.3 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.006196, allocations: 106.2 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.006219, allocations: 8.797 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006219, allocations: 0 / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002118/0.006431, allocations: 1.25 kB / 0.736 GB, free: 13.61 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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.0001582/0.006589, allocations: 160.6 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.376e-05/0.006643, allocations: 4 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.006649, allocations: 0.875 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.006653, allocations: 0.5312 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.007049, allocations: 468.8 kB / 0.7366 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.007278, allocations: 159 kB / 0.7368 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.007317, allocations: 51.36 kB / 0.7368 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.274e-06/0.007319, allocations: 1.578 kB / 0.7368 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.007348, allocations: 47.38 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/0.007349, allocations: 1.219 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.001876/0.009225, allocations: 177.1 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.037640322931111]