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.001521/0.001521, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001002/0.001002, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9784/0.9784, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.923/1.923, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.995e-06/2.995e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.303e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001582/0.001615, allocations: 0.8378 MB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003108, allocations: 1.526 MB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.003183, allocations: 9.281 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.003319, allocations: 15.86 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.003384, allocations: 37.53 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009732/0.004357, allocations: 0.5056 MB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.004808, allocations: 479.1 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.004933, allocations: 22.39 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.005151, allocations: 259.7 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.005337, allocations: 152.1 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.005392, allocations: 41.66 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.005489, allocations: 51.94 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.005539, allocations: 39.89 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.005657, allocations: 143.7 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.005971, allocations: 351.1 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005974, allocations: 0.5625 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005975, allocations: 1.312 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.00598, allocations: 0 / 0.8159 GB, free: 13.28 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.0006456/0.006626, allocations: 0.6721 MB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.006664, allocations: 8.031 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.318e-05/0.006757, allocations: 49.94 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.006986, allocations: 200.3 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.007007, allocations: 20.36 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.007048, allocations: 29.75 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.00723, allocations: 121.5 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.00724, allocations: 192 / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.007255, allocations: 9.969 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.007264, allocations: 384 / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.007333, allocations: 47.77 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.007932, allocations: 0.652 MB / 0.8176 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.008061, allocations: 82.97 kB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.008104, allocations: 31.67 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.008111, allocations: 4.922 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.008271, allocations: 153 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.008272, allocations: 2.125 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003121/0.008584, allocations: 207.9 kB / 0.8181 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.008616, allocations: 55.41 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.008746, allocations: 246.6 kB / 0.8184 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.008782, allocations: 37.7 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.008874, allocations: 181.6 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.008898, allocations: 35.73 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.009025, allocations: 123.3 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.009141, allocations: 0.5001 MB / 0.8192 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.009397, allocations: 284.3 kB / 0.8195 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.009661, allocations: 397.2 kB / 0.8199 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.009954, allocations: 412 kB / 0.8203 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.009958, allocations: 4 kB / 0.8203 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007023/0.01066, allocations: 0.7442 MB / 0.821 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.01074, allocations: 161.1 kB / 0.8212 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01075, allocations: 0 / 0.8212 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01077, allocations: 4.969 kB / 0.8212 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.389e-05/0.0108, allocations: 19.92 kB / 0.8212 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.01081, allocations: 4 kB / 0.8212 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.01114, allocations: 111.9 kB / 0.8213 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.01118, allocations: 27.97 kB / 0.8213 GB, free: 7.188 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.0001127/0.0113, allocations: 192.3 kB / 0.8215 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.01132, allocations: 26.11 kB / 0.8215 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.01135, allocations: 17.81 kB / 0.8216 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01135, allocations: 4 kB / 0.8216 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01136, allocations: 0 / 0.8216 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01136, allocations: 7.922 kB / 0.8216 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.01171, allocations: 480.4 kB / 0.822 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01171, allocations: 0 / 0.822 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.01172, allocations: 4 kB / 0.822 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01173, allocations: 1.125 kB / 0.822 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01174, allocations: 3.984 kB / 0.822 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.01174, allocations: 11.92 kB / 0.822 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01174, allocations: 1.125 kB / 0.822 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.01194, allocations: 311.7 kB / 0.8223 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.01196, allocations: 19.89 kB / 0.8224 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01197, allocations: 5.062 kB / 0.8224 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.01201, allocations: 7.938 kB / 0.8224 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.01206, allocations: 19.97 kB / 0.8224 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.01207, allocations: 12.92 kB / 0.8224 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.153e-05/0.01214, allocations: 160.2 kB / 0.8226 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01214, allocations: 1.688 kB / 0.8226 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002503/0.0124, allocations: 79.94 kB / 0.8226 GB, free: 5.793 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.000133/0.01253, allocations: 113.1 kB / 0.8227 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.01304, allocations: 0.679 MB / 0.8234 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01304, allocations: 0.5625 kB / 0.8234 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.01312, allocations: 68.78 kB / 0.8235 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01339, allocations: 43.38 kB / 0.8235 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.0138, allocations: 317.3 kB / 0.8238 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.655e-05/0.01385, allocations: 75.98 kB / 0.8239 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.594e-05/0.01389, allocations: 19.61 kB / 0.8239 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.01392, allocations: 24.48 kB / 0.8239 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01392, allocations: 0 / 0.8239 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of Templates: time 0.01083/0.02475, allocations: 5.562 MB / 0.8294 GB, free: 14.89 MB / 0.7917 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.302958263084292]