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.00104/0.00104, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00106/0.00106, allocations: 161 kB / 24.16 MB, free: 332 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 0.9405/0.9405, allocations: 177.1 MB / 204.6 MB, free: 4.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.316 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.944e-06/1.944e-06, allocations: 0 / 0.76 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.508e-05, allocations: 2.312 kB / 0.76 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001599/0.001624, allocations: 0.8092 MB / 0.7608 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003206, allocations: 1.544 MB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.003303, allocations: 4 kB / 0.7623 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.003438, allocations: 16.89 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.003532, allocations: 36.36 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009821/0.004514, allocations: 0.5106 MB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.00499, allocations: 486.6 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.005118, allocations: 30.31 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.00538, allocations: 261.7 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.005569, allocations: 143.7 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.005619, allocations: 44 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.005713, allocations: 47.98 kB / 0.7639 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.005768, allocations: 47.83 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.005882, allocations: 135.8 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.006355, allocations: 355.8 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006358, allocations: 3.938 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006359, allocations: 0.75 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.006365, allocations: 0 / 0.7644 GB, free: 2.113 MB / 0.7136 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.0007367/0.007101, allocations: 0.5362 MB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.007141, allocations: 14.22 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.007242, allocations: 40.89 kB / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.007479, allocations: 169.5 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.007499, allocations: 20.38 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.007541, allocations: 32.36 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.007666, allocations: 110.9 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.007674, allocations: 1.781 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.007684, allocations: 384 / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007692, allocations: 4.375 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.007731, allocations: 32.88 kB / 0.7653 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.008194, allocations: 400.6 kB / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.008322, allocations: 66.48 kB / 0.7658 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.008355, allocations: 21.78 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.008365, allocations: 4.969 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.008551, allocations: 135.2 kB / 0.7659 GB, free: 424 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.008553, allocations: 2.562 kB / 0.7659 GB, free: 424 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002878/0.00884, allocations: 151.9 kB / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.00889, allocations: 55.41 kB / 0.7661 GB, free: 200 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.009045, allocations: 183.5 kB / 0.7663 GB, free: 4 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.009111, allocations: 37.7 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.009201, allocations: 124.6 kB / 0.7664 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.009234, allocations: 39.73 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.009402, allocations: 104.3 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.009507, allocations: 338.7 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.009749, allocations: 244.3 kB / 0.7671 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.01003, allocations: 323.2 kB / 0.7674 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.01037, allocations: 366.7 kB / 0.7678 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01038, allocations: 0 / 0.7678 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006579/0.01103, allocations: 0.5997 MB / 0.7684 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.01114, allocations: 160.5 kB / 0.7685 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.01115, allocations: 0 / 0.7685 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.01117, allocations: 4 kB / 0.7685 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.0112, allocations: 15.98 kB / 0.7685 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.0112, allocations: 10.66 kB / 0.7686 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.01163, allocations: 103.8 kB / 0.7687 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.01168, allocations: 24.56 kB / 0.7687 GB, free: 13.27 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.000135/0.01182, allocations: 149.7 kB / 0.7688 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.01185, allocations: 20.56 kB / 0.7688 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.01188, allocations: 17.81 kB / 0.7689 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01189, allocations: 6.844 kB / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01189, allocations: 0 / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.0119, allocations: 0 / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.01229, allocations: 360.6 kB / 0.7692 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0123, allocations: 0 / 0.7692 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.01231, allocations: 0 / 0.7692 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01231, allocations: 0 / 0.7692 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01232, allocations: 11.94 kB / 0.7692 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01233, allocations: 7.578 kB / 0.7692 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01233, allocations: 0 / 0.7692 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.0125, allocations: 203.4 kB / 0.7694 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.01252, allocations: 19.84 kB / 0.7694 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01254, allocations: 8 kB / 0.7694 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.01261, allocations: 0 / 0.7694 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.01266, allocations: 22.8 kB / 0.7695 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.01267, allocations: 11.98 kB / 0.7695 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.01272, allocations: 41.77 kB / 0.7695 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01272, allocations: 3.438 kB / 0.7695 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003927/0.01311, allocations: 87.92 kB / 0.7696 GB, free: 12.28 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.000147/0.01326, allocations: 90.45 kB / 0.7697 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005439/0.0138, allocations: 0.6289 MB / 0.7703 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.0138, allocations: 0 / 0.7703 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.01388, allocations: 58.81 kB / 0.7704 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.0142, allocations: 42.52 kB / 0.7704 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01468, allocations: 298.9 kB / 0.7707 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.01474, allocations: 75.98 kB / 0.7708 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.749e-05/0.0148, allocations: 18.64 kB / 0.7708 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.01509, allocations: 128.3 kB / 0.7709 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.01509, allocations: 0 / 0.7709 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.009665/0.02476, allocations: 5.479 MB / 0.7763 GB, free: 5.594 MB / 0.7292 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.0883832150138915]