Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001476/0.001476, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001596/0.001596, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.312e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002189/0.002222, allocations: 0.8055 MB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002549/0.004771, allocations: 1.505 MB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.004898, allocations: 3.938 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.005078, allocations: 19.81 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.005187, allocations: 37.14 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.00664, allocations: 0.5027 MB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.007379, allocations: 479.1 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.007528, allocations: 29.61 kB / 0.8141 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.008232, allocations: 255.7 kB / 0.8144 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.008546, allocations: 148.1 kB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.008637, allocations: 40.53 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.008776, allocations: 59.97 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.008845, allocations: 40.61 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.009061, allocations: 135.8 kB / 0.8148 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.009692, allocations: 491.3 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.009695, allocations: 1.5 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009696, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.009701, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 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.0008865/0.01059, allocations: 0.576 MB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.01062, allocations: 8.562 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.01075, allocations: 42.17 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.01112, allocations: 201.5 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.01115, allocations: 16.38 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.01123, allocations: 32.36 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.01152, allocations: 153 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01153, allocations: 192 / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.01155, allocations: 8.375 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.01155, allocations: 1.75 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.01171, allocations: 83.89 kB / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009542/0.01267, allocations: 0.571 MB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01288, allocations: 102.5 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.01297, allocations: 41.62 kB / 0.817 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.01298, allocations: 0 / 0.817 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.0133, allocations: 158.9 kB / 0.8172 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.0133, allocations: 4 kB / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0005788/0.01388, allocations: 250.3 kB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.01393, allocations: 55.41 kB / 0.8175 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.01413, allocations: 184.5 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/0.0142, allocations: 37.7 kB / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01435, allocations: 132.6 kB / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.0144, allocations: 47.62 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.01463, allocations: 118.8 kB / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01483, allocations: 322.8 kB / 0.8183 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.01533, allocations: 316.3 kB / 0.8186 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.0159, allocations: 389.2 kB / 0.8189 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/0.0165, allocations: 415.3 kB / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.0165, allocations: 0.5312 kB / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001377/0.01788, allocations: 0.7996 MB / 0.8201 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.01802, allocations: 156.5 kB / 0.8203 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.01803, allocations: 4.656 kB / 0.8203 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.01806, allocations: 4 kB / 0.8203 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.0181, allocations: 12.59 kB / 0.8203 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.01811, allocations: 11.2 kB / 0.8203 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.01894, allocations: 142 kB / 0.8204 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.01901, allocations: 27.98 kB / 0.8205 GB, free: 7.797 MB / 0.7761 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.0002323/0.01925, allocations: 165.4 kB / 0.8206 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.01929, allocations: 20.84 kB / 0.8206 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.01933, allocations: 21.81 kB / 0.8207 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.01934, allocations: 4 kB / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01935, allocations: 1.125 kB / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.01936, allocations: 7.922 kB / 0.8207 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009033/0.02026, allocations: 433.3 kB / 0.8211 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.02027, allocations: 3.984 kB / 0.8211 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.02029, allocations: 4 kB / 0.8211 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.02029, allocations: 1.125 kB / 0.8211 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.0203, allocations: 4 kB / 0.8211 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.02031, allocations: 11.86 kB / 0.8211 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02031, allocations: 0.9688 kB / 0.8211 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.0207, allocations: 291.4 kB / 0.8214 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.02073, allocations: 23.8 kB / 0.8214 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.02076, allocations: 8.609 kB / 0.8214 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.02083, allocations: 9.594 kB / 0.8214 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.0209, allocations: 19.97 kB / 0.8214 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.02091, allocations: 4 kB / 0.8214 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001217/0.02103, allocations: 128.2 kB / 0.8216 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02103, allocations: 0 / 0.8216 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003993/0.02143, allocations: 81.5 kB / 0.8216 GB, free: 6.531 MB / 0.7761 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.0002184/0.02165, allocations: 121.2 kB / 0.8218 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.02267, allocations: 0.6945 MB / 0.8224 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02267, allocations: 1.906 kB / 0.8224 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.0228, allocations: 67.89 kB / 0.8225 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.02325, allocations: 48.5 kB / 0.8226 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.02397, allocations: 333.6 kB / 0.8229 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.02412, allocations: 117.3 kB / 0.823 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.02419, allocations: 25.47 kB / 0.823 GB, free: 5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.02424, allocations: 20.5 kB / 0.823 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.02424, allocations: 4 kB / 0.823 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of Templates: time 0.01071/0.03496, allocations: 5.079 MB / 0.828 GB, free: 28 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.022800009930506]