Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.0007811/0.0007811, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009762/0.001757, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007648/0.0007648, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009061/0.001671, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9843/0.9843, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.088, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.805/1.805, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.535/2.34, allocations: 123.3 MB / 0.7281 GB, free: 5.859 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.786e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001117/0.001135, allocations: 0.7038 MB / 0.73 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002226, allocations: 1.244 MB / 0.7313 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.002256, allocations: 0 / 0.7313 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.002278, allocations: 6.75 kB / 0.7313 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.00232, allocations: 12.8 kB / 0.7313 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.002657, allocations: 207.4 kB / 0.7315 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.002847, allocations: 174.7 kB / 0.7316 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.002921, allocations: 11.98 kB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.00303, allocations: 94.98 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.003134, allocations: 53.16 kB / 0.7318 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.003163, allocations: 17.41 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.003239, allocations: 31.98 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.003256, allocations: 4 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.003302, allocations: 35.94 kB / 0.7319 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.003451, allocations: 101.6 kB / 0.732 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.003466, allocations: 0 / 0.732 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003466, allocations: 0 / 0.732 GB, free: 1.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.003482, allocations: 3.938 kB / 0.732 GB, free: 1.914 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.0004288/0.00391, allocations: 339.9 kB / 0.7323 GB, free: 1.543 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.003942, allocations: 12.91 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.003981, allocations: 16.92 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.836e-05/0.004069, allocations: 130.1 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004081, allocations: 5.25 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.004101, allocations: 8.375 kB / 0.7325 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.918e-05/0.004171, allocations: 46.23 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004178, allocations: 1.156 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.004184, allocations: 384 / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004191, allocations: 4.891 kB / 0.7325 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.004208, allocations: 7.938 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.004447, allocations: 181.2 kB / 0.7327 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.004503, allocations: 27.08 kB / 0.7327 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.00452, allocations: 17 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.004526, allocations: 0.875 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.82e-05/0.004625, allocations: 79.31 kB / 0.7328 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.004626, allocations: 1.438 kB / 0.7328 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001222/0.004748, allocations: 77.52 kB / 0.7329 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.004783, allocations: 55.41 kB / 0.7329 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.004847, allocations: 119.3 kB / 0.7331 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.004867, allocations: 29.7 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.004908, allocations: 96.75 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.004922, allocations: 19.88 kB / 0.7332 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.004976, allocations: 43.73 kB / 0.7332 GB, free: 488 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.005058, allocations: 318.8 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.00513, allocations: 99.38 kB / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.005222, allocations: 135.6 kB / 0.7338 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.005318, allocations: 148.8 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00532, allocations: 0.5 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001796/0.0055, allocations: 261.2 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.005545, allocations: 68.27 kB / 0.7342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00555, allocations: 3.938 kB / 0.7342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.00556, allocations: 4.562 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.005578, allocations: 5.672 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.005583, allocations: 7.938 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.005728, allocations: 35.92 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.005747, allocations: 17.2 kB / 0.7343 GB, free: 15.28 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,or1.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 6.532e-05/0.005812, allocations: 121.8 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.005822, allocations: 9.203 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.005846, allocations: 8.375 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005848, allocations: 0 / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.00585, allocations: 4.5 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005853, allocations: 0 / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.131e-05/0.005914, allocations: 78.84 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005915, allocations: 0 / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-06/0.005921, allocations: 4.594 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.005928, allocations: 3.953 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005929, allocations: 0.6562 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.005935, allocations: 7.984 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005937, allocations: 4.969 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005938, allocations: 0 / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.703e-05/0.006015, allocations: 85.72 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.006024, allocations: 4 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.006035, allocations: 1.781 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.006061, allocations: 11.92 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006064, allocations: 4.062 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.449e-05/0.006079, allocations: 16.84 kB / 0.7346 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006079, allocations: 0 / 0.7346 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001205/0.006199, allocations: 37.16 kB / 0.7347 GB, free: 14.84 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,or1.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 9.028e-05/0.00629, allocations: 76.42 kB / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.006477, allocations: 264.6 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.006481, allocations: 4 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.006505, allocations: 25.44 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.006611, allocations: 22.67 kB / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.007006, allocations: 153 kB / 0.7352 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.007038, allocations: 63.34 kB / 0.7353 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.007059, allocations: 8.812 kB / 0.7353 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.00715, allocations: 75.34 kB / 0.7353 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.00715, allocations: 1.156 kB / 0.7353 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.003393/0.01054, allocations: 2.295 MB / 0.7376 GB, free: 11.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.769736987538636]