Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001191/0.001191, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.003045, 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.001104/0.001104, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002598, 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.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09047/1.096, allocations: 53.66 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.91/1.91, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5411/2.451, allocations: 123.3 MB / 0.7283 GB, free: 5.711 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.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.181e-05, allocations: 2.812 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002599/0.002631, allocations: 0.7111 MB / 0.7304 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004269, allocations: 1.245 MB / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.004316, allocations: 0 / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.004344, allocations: 4.625 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.004409, allocations: 16.02 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.004988, allocations: 206.8 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.005268, allocations: 172.5 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.005352, allocations: 8.531 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.005538, allocations: 96.38 kB / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.005676, allocations: 57.88 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.005712, allocations: 12 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.005821, allocations: 28.97 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.005848, allocations: 7.188 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.005911, allocations: 35.94 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.006139, allocations: 111.7 kB / 0.7323 GB, free: 1.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.006154, allocations: 0 / 0.7323 GB, free: 1.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.006156, allocations: 0.6562 kB / 0.7323 GB, free: 1.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.006173, allocations: 4.688 kB / 0.7323 GB, free: 1.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005691/0.006742, allocations: 335.9 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.006783, allocations: 13.75 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.00684, allocations: 12.92 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.006958, allocations: 121.6 kB / 0.7328 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006977, allocations: 8.375 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.00701, allocations: 8.375 kB / 0.7328 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.007101, allocations: 47.3 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.00711, allocations: 192 / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.007117, allocations: 384 / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007125, allocations: 1.5 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.007147, allocations: 11.94 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.00747, allocations: 176.8 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.007544, allocations: 35.42 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.007562, allocations: 8.859 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.007569, allocations: 0.75 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.0077, allocations: 79.48 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.007701, allocations: 4.625 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001674/0.007868, allocations: 77.58 kB / 0.7332 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.007905, allocations: 53.22 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.007991, allocations: 126.6 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.00802, allocations: 33.69 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.008073, allocations: 92.09 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.008091, allocations: 15.88 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.008172, allocations: 46.64 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008282, allocations: 318.8 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.008395, allocations: 99.88 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.008513, allocations: 134.9 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.008659, allocations: 149.4 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.008662, allocations: 0.5312 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002959/0.008958, allocations: 265.2 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.009026, allocations: 67.89 kB / 0.7345 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.009035, allocations: 8.797 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.009052, allocations: 4 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.436e-05/0.009076, allocations: 4 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.009082, allocations: 5.875 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.009294, allocations: 35.92 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.009323, allocations: 15.98 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.971e-05/0.009412, allocations: 115.5 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.009431, allocations: 11.98 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.009461, allocations: 8.375 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.009465, allocations: 4.531 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.009467, allocations: 0.7188 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.00947, allocations: 0 / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.712e-05/0.009567, allocations: 78.41 kB / 0.7348 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009569, allocations: 0 / 0.7348 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.009582, allocations: 4.938 kB / 0.7348 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.009591, allocations: 3.953 kB / 0.7348 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.009597, allocations: 9.016 kB / 0.7348 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.009603, allocations: 0 / 0.7348 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.009606, allocations: 3.938 kB / 0.7348 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.009608, allocations: 0.625 kB / 0.7348 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.009727, allocations: 85.03 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.00974, allocations: 1.781 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.009766, allocations: 4 kB / 0.7349 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.009803, allocations: 15.97 kB / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.009809, allocations: 4 kB / 0.7349 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.009834, allocations: 16.84 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.009834, allocations: 1.219 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002274/0.01006, allocations: 35.94 kB / 0.735 GB, free: 14.67 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001597/0.01022, allocations: 81.16 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.0105, allocations: 268.3 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.0105, allocations: 3.984 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.01054, allocations: 22.55 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01076, allocations: 122.8 kB / 0.7355 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.01137, allocations: 157.5 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.906e-05/0.01141, allocations: 62.31 kB / 0.7357 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.01145, allocations: 4 kB / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01159, allocations: 83.22 kB / 0.7358 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/0.01159, allocations: 0 / 0.7358 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of Templates: time 0.004828/0.01641, allocations: 2.258 MB / 0.738 GB, free: 11.63 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.072150914929807]