Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001403/0.001403, allocations: 85 kB / 19.18 MB, free: 2.387 MB / 14.72 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.001705/0.001705, allocations: 170.9 kB / 22.46 MB, free: 4.984 MB / 14.72 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.501/1.501, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.817/2.817, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_11_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.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.582e-05, allocations: 5.094 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002205/0.002241, allocations: 0.797 MB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.00481, allocations: 1.509 MB / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004939, allocations: 7.938 kB / 0.9532 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.005096, allocations: 19.8 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.005204, allocations: 39.7 kB / 0.9533 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.006793, allocations: 0.5158 MB / 0.9538 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000794/0.007587, allocations: 487 kB / 0.9543 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.007772, allocations: 29.61 kB / 0.9543 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.008284, allocations: 263.7 kB / 0.9546 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.008668, allocations: 143.6 kB / 0.9547 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.008809, allocations: 40 kB / 0.9547 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.008965, allocations: 59.97 kB / 0.9548 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.009036, allocations: 39.84 kB / 0.9548 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.009284, allocations: 139.8 kB / 0.955 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.01012, allocations: 490.8 kB / 0.9554 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01012, allocations: 0 / 0.9554 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01012, allocations: 0 / 0.9554 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.01013, allocations: 0 / 0.9554 GB, free: 6.992 MB / 0.8575 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.001246/0.01138, allocations: 0.5761 MB / 0.956 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.01143, allocations: 8.031 kB / 0.956 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.01157, allocations: 28.84 kB / 0.956 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.01196, allocations: 205.4 kB / 0.9562 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.01199, allocations: 16.38 kB / 0.9562 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.01207, allocations: 32.38 kB / 0.9563 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.01239, allocations: 147.9 kB / 0.9564 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.0124, allocations: 192 / 0.9564 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.01242, allocations: 8.359 kB / 0.9564 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.01243, allocations: 4.375 kB / 0.9564 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.0126, allocations: 87.83 kB / 0.9565 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.01356, allocations: 0.5703 MB / 0.9571 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.01377, allocations: 82.53 kB / 0.9571 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.01386, allocations: 44.83 kB / 0.9572 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01388, allocations: 3.984 kB / 0.9572 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.01414, allocations: 151.4 kB / 0.9573 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.01414, allocations: 0 / 0.9573 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0006147/0.01476, allocations: 247.4 kB / 0.9576 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.01482, allocations: 63.34 kB / 0.9576 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01503, allocations: 191.9 kB / 0.9578 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.01511, allocations: 41.7 kB / 0.9578 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.01526, allocations: 124.7 kB / 0.958 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.01532, allocations: 43.67 kB / 0.958 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.01556, allocations: 113.6 kB / 0.9581 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002563/0.01582, allocations: 330.8 kB / 0.9584 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.01632, allocations: 312.3 kB / 0.9587 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.01685, allocations: 386.7 kB / 0.9591 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/0.01741, allocations: 405.4 kB / 0.9595 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.01742, allocations: 8.078 kB / 0.9595 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001251/0.01867, allocations: 0.784 MB / 0.9603 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.01887, allocations: 156.5 kB / 0.9604 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.01888, allocations: 4 kB / 0.9604 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.0189, allocations: 4 kB / 0.9604 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.01895, allocations: 19.98 kB / 0.9604 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.01896, allocations: 4 kB / 0.9604 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/0.01978, allocations: 136 kB / 0.9606 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.01985, allocations: 39.91 kB / 0.9606 GB, free: 1.219 MB / 0.8575 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.000327/0.02018, allocations: 167.2 kB / 0.9608 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.02021, allocations: 19.86 kB / 0.9608 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.02026, allocations: 17.8 kB / 0.9608 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.02026, allocations: 4 kB / 0.9608 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.02027, allocations: 0 / 0.9608 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.02027, allocations: 3.938 kB / 0.9608 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.02091, allocations: 440.2 kB / 0.9612 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02091, allocations: 0 / 0.9612 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.02093, allocations: 4 kB / 0.9612 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.02094, allocations: 8 kB / 0.9612 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.02095, allocations: 7.984 kB / 0.9612 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.02096, allocations: 3.938 kB / 0.9613 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02096, allocations: 0 / 0.9613 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.02139, allocations: 279.3 kB / 0.9615 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.02141, allocations: 15.84 kB / 0.9615 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.02145, allocations: 7.984 kB / 0.9615 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.02153, allocations: 7.938 kB / 0.9615 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.0216, allocations: 19.97 kB / 0.9616 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.02161, allocations: 8 kB / 0.9616 GB, free: 176 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001091/0.02172, allocations: 123.2 kB / 0.9617 GB, free: 52 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.02172, allocations: 4 kB / 0.9617 GB, free: 48 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004271/0.02215, allocations: 76 kB / 0.9618 GB, free: 15.97 MB / 0.8731 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.0002204/0.02237, allocations: 115.1 kB / 0.9619 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.02365, allocations: 0.6965 MB / 0.9626 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.02365, allocations: 0.6875 kB / 0.9626 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.02378, allocations: 70.09 kB / 0.9626 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.02426, allocations: 63.8 kB / 0.9627 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.02496, allocations: 322.7 kB / 0.963 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.02509, allocations: 116.3 kB / 0.9631 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.179e-05/0.02516, allocations: 21.47 kB / 0.9631 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.02528, allocations: 20.5 kB / 0.9631 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.02528, allocations: 0 / 0.9631 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.01059/0.03587, allocations: 5.068 MB / 0.9681 GB, free: 9.473 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.33138282224536]