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.001428/0.001428, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00102/0.00102, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.949/1.949, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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 1.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.524e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001299/0.001314, allocations: 0.8279 MB / 0.8124 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.002635, allocations: 1.526 MB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.002698, allocations: 4.969 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.002805, allocations: 23.73 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.002853, allocations: 32.67 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.003867, allocations: 0.5061 MB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.00423, allocations: 481.6 kB / 0.8149 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.004353, allocations: 29.66 kB / 0.8149 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.004537, allocations: 251.7 kB / 0.8151 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.004696, allocations: 151.6 kB / 0.8153 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.004743, allocations: 40 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.004822, allocations: 48 kB / 0.8154 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.004877, allocations: 44.39 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.004992, allocations: 140.5 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.005276, allocations: 351.1 kB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005278, allocations: 5.188 kB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005279, allocations: 0 / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.005283, allocations: 0 / 0.8159 GB, free: 13.64 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.0005565/0.00584, allocations: 0.6736 MB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.005876, allocations: 12.03 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.005961, allocations: 44.72 kB / 0.8166 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.006219, allocations: 196.4 kB / 0.8168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.006244, allocations: 21.7 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.006289, allocations: 32.38 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.006446, allocations: 121.5 kB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006455, allocations: 4.172 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.006466, allocations: 5.781 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006474, allocations: 4.375 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.006539, allocations: 43.77 kB / 0.817 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.00709, allocations: 0.6554 MB / 0.8176 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.007205, allocations: 83.03 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.007244, allocations: 24.2 kB / 0.8177 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.007251, allocations: 4.531 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.007408, allocations: 156.6 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.00741, allocations: 0.8125 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003103/0.00772, allocations: 205.5 kB / 0.8181 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.007758, allocations: 59.94 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.007889, allocations: 246.6 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.007926, allocations: 43.08 kB / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.008004, allocations: 167.4 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.008029, allocations: 47.67 kB / 0.8186 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.008148, allocations: 124.4 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.008258, allocations: 0.5001 MB / 0.8192 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.008498, allocations: 280.4 kB / 0.8195 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.008791, allocations: 398 kB / 0.8199 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.009089, allocations: 406.5 kB / 0.8203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009091, allocations: 0 / 0.8203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006638/0.009755, allocations: 0.757 MB / 0.821 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.01006, allocations: 156.5 kB / 0.8212 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01007, allocations: 4 kB / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01008, allocations: 5.031 kB / 0.8212 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.01011, allocations: 15.98 kB / 0.8212 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01011, allocations: 7.312 kB / 0.8212 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.01042, allocations: 107.7 kB / 0.8213 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.01046, allocations: 35.97 kB / 0.8213 GB, free: 7.539 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.0001096/0.01057, allocations: 190.7 kB / 0.8215 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.01059, allocations: 27.89 kB / 0.8215 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.01061, allocations: 17.81 kB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01062, allocations: 0 / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01062, allocations: 0 / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.01063, allocations: 13.02 kB / 0.8216 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.01097, allocations: 467.4 kB / 0.822 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01097, allocations: 0.6562 kB / 0.822 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-06/0.01098, allocations: 4 kB / 0.822 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01098, allocations: 2.312 kB / 0.822 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.011, allocations: 11.98 kB / 0.822 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.011, allocations: 3.938 kB / 0.822 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.011, allocations: 3.938 kB / 0.822 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01118, allocations: 311.8 kB / 0.8223 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.01119, allocations: 11.91 kB / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.01121, allocations: 15.02 kB / 0.8224 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.01125, allocations: 3.938 kB / 0.8224 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.01129, allocations: 19.97 kB / 0.8224 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.0113, allocations: 11.94 kB / 0.8224 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.01136, allocations: 164.1 kB / 0.8225 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01136, allocations: 0 / 0.8225 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002325/0.01159, allocations: 79.94 kB / 0.8226 GB, free: 6.152 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.0001202/0.01171, allocations: 116.1 kB / 0.8227 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.0122, allocations: 0.6755 MB / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0122, allocations: 0 / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.01227, allocations: 65.47 kB / 0.8235 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01253, allocations: 56.52 kB / 0.8235 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.01293, allocations: 315.2 kB / 0.8238 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/0.01297, allocations: 75.98 kB / 0.8239 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.123e-05/0.01301, allocations: 18.95 kB / 0.8239 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.01304, allocations: 24.48 kB / 0.8239 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01304, allocations: 0 / 0.8239 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of Templates: time 0.006189/0.01923, allocations: 5.076 MB / 0.8289 GB, free: 15.73 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.352627094136551]