Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001306/0.001306, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.0016/0.0016, allocations: 215.9 kB / 23 MB, free: 4.566 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 72.27 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 169.9 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001995/0.3345, allocations: 0.8417 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3365, allocations: 1.515 MB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.3366, allocations: 3.938 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3367, allocations: 19.8 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.3368, allocations: 39.66 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.3382, allocations: 0.5144 MB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.3388, allocations: 479.3 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3389, allocations: 37.59 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.3391, allocations: 183.6 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3394, allocations: 179.5 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.3395, allocations: 40 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3396, allocations: 55.98 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.3397, allocations: 39.86 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3399, allocations: 163.5 kB / 1.289 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.3403, allocations: 414.8 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3403, allocations: 4 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3403, allocations: 0 / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3403, allocations: 0 / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000778/0.3411, allocations: 0.5722 MB / 1.29 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3412, allocations: 11.97 kB / 1.29 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3413, allocations: 40.8 kB / 1.29 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3416, allocations: 191.5 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3416, allocations: 20.36 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.3417, allocations: 32.31 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.342, allocations: 153 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.342, allocations: 192 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.342, allocations: 11.94 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.342, allocations: 4 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3421, allocations: 83.8 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.343, allocations: 0.6789 MB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3432, allocations: 82.55 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.3433, allocations: 40.84 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.3433, allocations: 96 / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.3435, allocations: 168.8 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.3435, allocations: 0 / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.00046/0.344, allocations: 251.4 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.344, allocations: 59.41 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3442, allocations: 182.7 kB / 1.292 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.3443, allocations: 41.7 kB / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3444, allocations: 132.5 kB / 1.292 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3444, allocations: 39.7 kB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.3446, allocations: 121.6 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3447, allocations: 326.8 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.3451, allocations: 151.9 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3454, allocations: 238.2 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.3459, allocations: 411.8 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3459, allocations: 4 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009885/0.3469, allocations: 0.6306 MB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.347, allocations: 164.4 kB / 1.294 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.347, allocations: 7.938 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.3471, allocations: 4 kB / 1.294 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.3471, allocations: 11.94 kB / 1.294 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3471, allocations: 4 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.3478, allocations: 143.8 kB / 1.294 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.3479, allocations: 27.98 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001913/0.3481, allocations: 169.5 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.3481, allocations: 19.89 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.3482, allocations: 17.75 kB / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3482, allocations: 4 kB / 1.294 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3482, allocations: 0 / 1.294 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3482, allocations: 3.984 kB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.3488, allocations: 493.3 kB / 1.295 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3488, allocations: 4.062 kB / 1.295 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.3488, allocations: 4 kB / 1.295 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3488, allocations: 0 / 1.295 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3488, allocations: 12 kB / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3488, allocations: 0 / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3488, allocations: 0 / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3491, allocations: 285.6 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.3492, allocations: 15.91 kB / 1.295 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3492, allocations: 7.984 kB / 1.295 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.654e-05/0.3492, allocations: 4 kB / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.3493, allocations: 23.97 kB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3493, allocations: 8 kB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.3494, allocations: 115.2 kB / 1.295 GB, free: 156 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3494, allocations: 7.938 kB / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000364/0.3498, allocations: 87.88 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001801/0.35, allocations: 107.8 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.3507, allocations: 0.5477 MB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3507, allocations: 0 / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3508, allocations: 67.91 kB / 1.296 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3513, allocations: 53.88 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.3519, allocations: 361.8 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3523, allocations: 0.7281 MB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.3523, allocations: 23.44 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3523, allocations: 0 / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.006011/0.3584, allocations: 3.342 MB / 1.3 GB, free: 10.74 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y Variables in the result:mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,time [Calling sys.exit(0), Time elapsed: 11.639531738997903]