Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001567/0.001567, allocations: 107.9 kB / 16.41 MB, free: 6.504 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.001904/0.001904, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8133, allocations: 151.6 MB / 1.167 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001849/0.8152, allocations: 0.8339 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.8169, allocations: 1.485 MB / 1.17 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.817, allocations: 0 / 1.17 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.8171, allocations: 19.8 kB / 1.17 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.8172, allocations: 39.66 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.8184, allocations: 0.5138 MB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.8189, allocations: 0.4914 MB / 1.171 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.819, allocations: 49.45 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.8192, allocations: 179.7 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.8195, allocations: 175.4 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.8195, allocations: 43.94 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.8197, allocations: 55.98 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.8197, allocations: 39.91 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.8199, allocations: 159.6 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.8203, allocations: 412.6 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8203, allocations: 4 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8203, allocations: 0 / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.8203, allocations: 4 kB / 1.172 GB, free: 15.49 MB / 0.9044 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.0007294/0.8211, allocations: 0.6438 MB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.8211, allocations: 12.88 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.8212, allocations: 32.75 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.8215, allocations: 267.9 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.8216, allocations: 20.36 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.8216, allocations: 36.36 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.8219, allocations: 159.7 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8219, allocations: 192 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.8219, allocations: 7.938 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8219, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.8221, allocations: 79.95 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.8229, allocations: 0.6993 MB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.8231, allocations: 171.6 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.8232, allocations: 44.83 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.8232, allocations: 0 / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.8235, allocations: 161.4 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.805e-06/0.8235, allocations: 3.938 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004293/0.8239, allocations: 245.3 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.824, allocations: 63.39 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.8241, allocations: 174.2 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.8242, allocations: 41.7 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.8243, allocations: 124.4 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.8243, allocations: 43.5 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.8245, allocations: 113.7 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8246, allocations: 338.8 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.8249, allocations: 155.9 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.8253, allocations: 242.7 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.8257, allocations: 410.1 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8257, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009106/0.8266, allocations: 0.615 MB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/0.8268, allocations: 160.5 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8268, allocations: 7.938 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.8268, allocations: 4 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.8268, allocations: 15.92 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8268, allocations: 7.938 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.8276, allocations: 135.8 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.8277, allocations: 35.97 kB / 1.177 GB, free: 9.836 MB / 0.9044 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.0001654/0.8278, allocations: 153.5 kB / 1.177 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.8279, allocations: 19.81 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.8279, allocations: 21.81 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8279, allocations: 0 / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8279, allocations: 0 / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.828, allocations: 3.984 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.8285, allocations: 0.5082 MB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8285, allocations: 4.062 kB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.8285, allocations: 7.938 kB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8286, allocations: 7.984 kB / 1.177 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.8286, allocations: 8 kB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8286, allocations: 0 / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8286, allocations: 4 kB / 1.178 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.8289, allocations: 283.1 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.8289, allocations: 92.92 kB / 1.178 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.8289, allocations: 0 / 1.178 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.829, allocations: 8 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.8291, allocations: 19.97 kB / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8291, allocations: 11.94 kB / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.889e-05/0.8292, allocations: 128.2 kB / 1.178 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8292, allocations: 0 / 1.178 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003692/0.8296, allocations: 79.94 kB / 1.178 GB, free: 8.387 MB / 0.9044 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.0001718/0.8297, allocations: 116.4 kB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007405/0.8305, allocations: 0.6202 MB / 1.179 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8305, allocations: 4 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.8306, allocations: 79.91 kB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.831, allocations: 51.81 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.8316, allocations: 362 kB / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.8319, allocations: 0.7242 MB / 1.18 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.8319, allocations: 23.44 kB / 1.18 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8319, allocations: 0 / 1.18 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of Templates: time 0.005495/0.8374, allocations: 3.339 MB / 1.183 GB, free: 2.992 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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