Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 103.2 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 66.59 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2527, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002247/0.255, allocations: 0.8345 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2569, allocations: 1.477 MB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2571, allocations: 3.938 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2572, allocations: 27.75 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.2573, allocations: 27.72 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2586, allocations: 0.5155 MB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.2592, allocations: 499.2 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2594, allocations: 37.48 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.2597, allocations: 183.7 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2599, allocations: 147.6 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.26, allocations: 40 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2602, allocations: 51.98 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.2603, allocations: 55.83 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.2605, allocations: 159.5 kB / 0.9542 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.2609, allocations: 407.2 kB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2609, allocations: 0 / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.261, allocations: 0 / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.261, allocations: 0 / 0.9546 GB, free: 4.398 MB / 0.7325 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.0008628/0.2618, allocations: 0.6438 MB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2619, allocations: 12.03 kB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.262, allocations: 36.64 kB / 0.9553 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.2623, allocations: 256 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2624, allocations: 20.36 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.2624, allocations: 32.31 kB / 0.9556 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.2627, allocations: 155.3 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2627, allocations: 192 / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2627, allocations: 15.92 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2628, allocations: 4 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2629, allocations: 83.89 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.2638, allocations: 0.7108 MB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.264, allocations: 171.6 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.2641, allocations: 44.84 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2641, allocations: 3.984 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.2644, allocations: 159.1 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.2644, allocations: 0 / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004607/0.2649, allocations: 250.8 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2649, allocations: 55.41 kB / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2651, allocations: 179.8 kB / 0.9573 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.2651, allocations: 45.64 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2653, allocations: 124.5 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.2653, allocations: 43.45 kB / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.2655, allocations: 117.6 kB / 0.9577 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2656, allocations: 326.8 kB / 0.958 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.2659, allocations: 159.9 kB / 0.9581 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.2663, allocations: 230.2 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.2668, allocations: 412.1 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2668, allocations: 4 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009906/0.2678, allocations: 0.6149 MB / 0.9593 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.2679, allocations: 164.5 kB / 0.9595 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.268, allocations: 3.938 kB / 0.9595 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.268, allocations: 4 kB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.68e-05/0.268, allocations: 16 kB / 0.9595 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.268, allocations: 7.984 kB / 0.9595 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/0.2689, allocations: 143.7 kB / 0.9597 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.269, allocations: 31.98 kB / 0.9597 GB, free: 14.74 MB / 0.7481 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.0001892/0.2692, allocations: 158.6 kB / 0.9598 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2692, allocations: 23.73 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.2693, allocations: 25.81 kB / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2693, allocations: 0 / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2693, allocations: 0 / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2693, allocations: 0 / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.2698, allocations: 0.5036 MB / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2699, allocations: 0 / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.2699, allocations: 11.94 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2699, allocations: 8 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2699, allocations: 0 / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2699, allocations: 3.984 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2699, allocations: 4 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.2702, allocations: 281.3 kB / 0.9607 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2703, allocations: 92.86 kB / 0.9608 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.2703, allocations: 11.92 kB / 0.9608 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.2704, allocations: 4 kB / 0.9608 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.2705, allocations: 23.97 kB / 0.9608 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2705, allocations: 8 kB / 0.9608 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.2706, allocations: 119.2 kB / 0.9609 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2706, allocations: 0 / 0.9609 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000373/0.271, allocations: 75.91 kB / 0.961 GB, free: 13.31 MB / 0.7481 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.0001778/0.2711, allocations: 115.2 kB / 0.9611 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007906/0.2719, allocations: 0.6361 MB / 0.9617 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.272, allocations: 0 / 0.9617 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2721, allocations: 79.91 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.2725, allocations: 54.8 kB / 0.9619 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.2731, allocations: 363.8 kB / 0.9622 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2734, allocations: 0.7242 MB / 0.9629 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.2735, allocations: 23.44 kB / 0.9629 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.2735, allocations: 0 / 0.9629 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.006003/0.2795, allocations: 3.334 MB / 0.9662 GB, free: 7.887 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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