Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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: 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.001144/0.001144, allocations: 161 kB / 24.16 MB, free: 336 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.9311/0.9311, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.508e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.004784/0.004809, allocations: 0.8248 MB / 0.7608 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.006571, allocations: 1.541 MB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.006648, allocations: 0 / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.00677, allocations: 26.16 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.006854, allocations: 38.66 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.01098, allocations: 0.4947 MB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005738/0.01155, allocations: 489.8 kB / 0.7634 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.01167, allocations: 34.3 kB / 0.7634 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.01195, allocations: 255.7 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.01235, allocations: 144.2 kB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.01242, allocations: 41.25 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.01252, allocations: 52 kB / 0.7639 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.01258, allocations: 43.83 kB / 0.7639 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.01271, allocations: 135.8 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.01308, allocations: 364.3 kB / 0.7644 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.01308, allocations: 0 / 0.7644 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/0.01308, allocations: 0 / 0.7644 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.01309, allocations: 1.031 kB / 0.7644 GB, free: 2.184 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.003609/0.0167, allocations: 0.5356 MB / 0.7649 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.01673, allocations: 8.031 kB / 0.7649 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.01681, allocations: 41.42 kB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.01704, allocations: 175 kB / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.01706, allocations: 24.31 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.01712, allocations: 28.38 kB / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.01726, allocations: 107.9 kB / 0.7653 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01727, allocations: 1.406 kB / 0.7653 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.01728, allocations: 4.375 kB / 0.7653 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.01729, allocations: 4.375 kB / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/0.01734, allocations: 33.78 kB / 0.7653 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.01785, allocations: 404.1 kB / 0.7657 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.01795, allocations: 59.3 kB / 0.7658 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.01798, allocations: 29.69 kB / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.01799, allocations: 0 / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.01814, allocations: 138.2 kB / 0.7659 GB, free: 492 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.01814, allocations: 0 / 0.7659 GB, free: 492 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002314/0.01838, allocations: 147.7 kB / 0.7661 GB, free: 340 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.01841, allocations: 56.66 kB / 0.7661 GB, free: 272 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01853, allocations: 183 kB / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.01857, allocations: 37.7 kB / 0.7663 GB, free: 32 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.01866, allocations: 125.6 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.01869, allocations: 43.67 kB / 0.7665 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.01884, allocations: 101.6 kB / 0.7666 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.01892, allocations: 331.7 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.01913, allocations: 244.3 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/0.02238, allocations: 330.1 kB / 0.7674 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.02267, allocations: 368.4 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02268, allocations: 0 / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005492/0.02322, allocations: 0.5934 MB / 0.7684 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.02331, allocations: 164.5 kB / 0.7685 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.02332, allocations: 5.594 kB / 0.7685 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.02334, allocations: 4 kB / 0.7685 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.69e-05/0.02336, allocations: 8 kB / 0.7685 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.02337, allocations: 7.938 kB / 0.7686 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.02373, allocations: 110.1 kB / 0.7687 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.02378, allocations: 23.98 kB / 0.7687 GB, free: 13.34 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0001344/0.02391, allocations: 160.3 kB / 0.7688 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.02394, allocations: 19.98 kB / 0.7689 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.02397, allocations: 17.81 kB / 0.7689 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.02398, allocations: 10.44 kB / 0.7689 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.02398, allocations: 3.984 kB / 0.7689 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.02399, allocations: 0 / 0.7689 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.02433, allocations: 330.5 kB / 0.7692 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02433, allocations: 0 / 0.7692 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.02435, allocations: 11.92 kB / 0.7692 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.02435, allocations: 0 / 0.7692 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.02436, allocations: 10.5 kB / 0.7692 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02436, allocations: 0 / 0.7692 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02436, allocations: 0 / 0.7692 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.02452, allocations: 209.6 kB / 0.7694 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.02453, allocations: 19.8 kB / 0.7694 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.02455, allocations: 4 kB / 0.7694 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.02461, allocations: 7.984 kB / 0.7695 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.02466, allocations: 19.39 kB / 0.7695 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.02466, allocations: 4.656 kB / 0.7695 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.02471, allocations: 54.23 kB / 0.7695 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02471, allocations: 0.5625 kB / 0.7695 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003331/0.02804, allocations: 77.47 kB / 0.7696 GB, free: 12.36 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.000148/0.02819, allocations: 93.89 kB / 0.7697 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.02867, allocations: 0.6296 MB / 0.7703 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.02868, allocations: 3.938 kB / 0.7703 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.02874, allocations: 59.2 kB / 0.7704 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.02902, allocations: 41.67 kB / 0.7704 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.02965, allocations: 299.2 kB / 0.7707 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.0297, allocations: 71.98 kB / 0.7708 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.239e-05/0.02975, allocations: 23.58 kB / 0.7708 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.02999, allocations: 127.3 kB / 0.7709 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.02999, allocations: 0 / 0.7709 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.01763/0.04762, allocations: 5.493 MB / 0.7763 GB, free: 5.648 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.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.208657070994377]