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.0009633/0.0009633, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009974/0.0009974, allocations: 168.2 kB / 24.87 MB, free: 8.879 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 0.9408/0.9408, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|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.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8128 GB, free: 284 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.6e-05, allocations: 2.312 kB / 0.8128 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001278/0.001294, allocations: 0.8242 MB / 0.8136 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.002947, allocations: 1.531 MB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.003023, allocations: 4 kB / 0.8151 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003153, allocations: 19.73 kB / 0.8151 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.003204, allocations: 36.31 kB / 0.8151 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.004027, allocations: 0.5036 MB / 0.8156 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.004439, allocations: 491 kB / 0.8161 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.004569, allocations: 25.67 kB / 0.8161 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.004775, allocations: 253.1 kB / 0.8164 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.004963, allocations: 147.6 kB / 0.8165 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.00502, allocations: 40 kB / 0.8165 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.005118, allocations: 53.42 kB / 0.8166 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.00517, allocations: 43.84 kB / 0.8166 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.00528, allocations: 135.8 kB / 0.8168 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.005582, allocations: 355.1 kB / 0.8171 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005584, allocations: 0.5 kB / 0.8171 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005584, allocations: 0 / 0.8171 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005589, allocations: 5.281 kB / 0.8171 GB, free: 11.85 MB / 0.7292 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.0005653/0.006154, allocations: 0.6721 MB / 0.8178 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.006185, allocations: 8.031 kB / 0.8178 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.006254, allocations: 37.38 kB / 0.8178 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.006461, allocations: 210.2 kB / 0.818 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.00648, allocations: 16.38 kB / 0.818 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.00652, allocations: 32.36 kB / 0.8181 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.006642, allocations: 118.5 kB / 0.8182 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.00665, allocations: 4.125 kB / 0.8182 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006661, allocations: 4.375 kB / 0.8182 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.006667, allocations: 6.406 kB / 0.8182 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.006708, allocations: 37.31 kB / 0.8182 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.00719, allocations: 0.6237 MB / 0.8188 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.007282, allocations: 71.53 kB / 0.8189 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.007312, allocations: 28.2 kB / 0.8189 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.007319, allocations: 4.719 kB / 0.8189 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.007455, allocations: 141.4 kB / 0.8191 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.007456, allocations: 5.625 kB / 0.8191 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0002483/0.007705, allocations: 199.6 kB / 0.8193 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.007738, allocations: 55.41 kB / 0.8193 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.007846, allocations: 238.6 kB / 0.8195 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.007884, allocations: 46.22 kB / 0.8196 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.007962, allocations: 171.4 kB / 0.8198 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007987, allocations: 45.03 kB / 0.8198 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.00811, allocations: 127.2 kB / 0.8199 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.008228, allocations: 0.5 MB / 0.8204 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.008412, allocations: 261.4 kB / 0.8207 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.008627, allocations: 377.1 kB / 0.821 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.009023, allocations: 392.2 kB / 0.8214 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.009025, allocations: 0 / 0.8214 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005669/0.009592, allocations: 0.7177 MB / 0.8221 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.009663, allocations: 158.4 kB / 0.8222 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.009669, allocations: 4 kB / 0.8222 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.00968, allocations: 4 kB / 0.8222 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.009699, allocations: 7.938 kB / 0.8223 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.009706, allocations: 7.984 kB / 0.8223 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.01, allocations: 106.2 kB / 0.8224 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.01004, allocations: 41.48 kB / 0.8224 GB, free: 5.934 MB / 0.7292 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.000106/0.01015, allocations: 188.2 kB / 0.8226 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.01017, allocations: 28.53 kB / 0.8226 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.0102, allocations: 19.14 kB / 0.8226 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0102, allocations: 4 kB / 0.8226 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01021, allocations: 0 / 0.8226 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01021, allocations: 0 / 0.8226 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.01051, allocations: 430.5 kB / 0.823 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01051, allocations: 0 / 0.823 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.01052, allocations: 8.641 kB / 0.823 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01053, allocations: 0.6562 kB / 0.8231 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01053, allocations: 8 kB / 0.8231 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.01053, allocations: 3.219 kB / 0.8231 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01054, allocations: 7.922 kB / 0.8231 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.0107, allocations: 318.2 kB / 0.8234 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.01071, allocations: 15.86 kB / 0.8234 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.01072, allocations: 0 / 0.8234 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.01076, allocations: 11.98 kB / 0.8234 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.0108, allocations: 15.97 kB / 0.8234 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01081, allocations: 11.94 kB / 0.8234 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.01086, allocations: 156.6 kB / 0.8236 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01086, allocations: 2.406 kB / 0.8236 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000231/0.01109, allocations: 79.94 kB / 0.8237 GB, free: 4.594 MB / 0.7292 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.00011/0.0112, allocations: 115.8 kB / 0.8238 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.01161, allocations: 0.6464 MB / 0.8244 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01161, allocations: 0 / 0.8244 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.01166, allocations: 60.62 kB / 0.8245 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01192, allocations: 53.97 kB / 0.8245 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.01227, allocations: 299.8 kB / 0.8248 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.01231, allocations: 75.94 kB / 0.8249 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.01234, allocations: 17.48 kB / 0.8249 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.01255, allocations: 172.4 kB / 0.825 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01255, allocations: 0 / 0.825 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of Templates: time 0.006403/0.01895, allocations: 5.633 MB / 0.8305 GB, free: 13.53 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.312128280755132]