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.0007148/0.0007148, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008054/0.0008054, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8864/0.8864, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.621/1.621, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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 1.463e-06/1.463e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.674e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001139/0.001155, allocations: 0.8086 MB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.002368, allocations: 1.498 MB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.002412, allocations: 3.938 kB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.183e-05/0.002494, allocations: 27.73 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.002533, allocations: 31.78 kB / 0.9541 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.003227, allocations: 0.5209 MB / 0.9546 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.003565, allocations: 483.1 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.003657, allocations: 29.61 kB / 0.9551 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.003832, allocations: 255.7 kB / 0.9553 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.00398, allocations: 143.6 kB / 0.9554 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.00402, allocations: 40 kB / 0.9555 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.004092, allocations: 59.97 kB / 0.9555 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.004132, allocations: 39.84 kB / 0.9556 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.004472, allocations: 135.8 kB / 0.9557 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.004812, allocations: 494.8 kB / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004814, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004814, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.004818, allocations: 4 kB / 0.9562 GB, free: 14.44 MB / 0.9167 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.0004378/0.005255, allocations: 0.576 MB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.005284, allocations: 8.031 kB / 0.9567 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.005341, allocations: 28.84 kB / 0.9568 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.005541, allocations: 201.5 kB / 0.957 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.005557, allocations: 16.38 kB / 0.957 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.005595, allocations: 28.38 kB / 0.957 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.00576, allocations: 151.7 kB / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.005766, allocations: 192 / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.005778, allocations: 12.36 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005783, allocations: 8.375 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.005876, allocations: 87.83 kB / 0.9573 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.006358, allocations: 0.5664 MB / 0.9578 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.006472, allocations: 82.55 kB / 0.9579 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.006518, allocations: 44.83 kB / 0.9579 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.006527, allocations: 4.172 kB / 0.9579 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.006678, allocations: 157 kB / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.006679, allocations: 4 kB / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.0002924/0.006972, allocations: 251.3 kB / 0.9583 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.006999, allocations: 55.41 kB / 0.9584 GB, free: 12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.0071, allocations: 191.4 kB / 0.9586 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.007137, allocations: 37.7 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.007203, allocations: 128.7 kB / 0.9587 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.007226, allocations: 43.67 kB / 0.9588 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.007336, allocations: 113.6 kB / 0.9589 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.007406, allocations: 334.8 kB / 0.9592 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.00766, allocations: 308.3 kB / 0.9595 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.007936, allocations: 392.5 kB / 0.9599 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.008228, allocations: 407.7 kB / 0.9602 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.00823, allocations: 4 kB / 0.9603 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006396/0.00887, allocations: 0.7839 MB / 0.961 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.008929, allocations: 156.5 kB / 0.9612 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008934, allocations: 4 kB / 0.9612 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.008944, allocations: 4.094 kB / 0.9612 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.008962, allocations: 16.2 kB / 0.9612 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008967, allocations: 8 kB / 0.9612 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.009316, allocations: 135.7 kB / 0.9613 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.009354, allocations: 35.97 kB / 0.9614 GB, free: 8.656 MB / 0.9167 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.0001026/0.009456, allocations: 163.2 kB / 0.9615 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.009471, allocations: 19.86 kB / 0.9615 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.009497, allocations: 21.8 kB / 0.9616 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009499, allocations: 0 / 0.9616 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.009502, allocations: 4 kB / 0.9616 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009506, allocations: 3.938 kB / 0.9616 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.00982, allocations: 438 kB / 0.962 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.00982, allocations: 0 / 0.962 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.00983, allocations: 8 kB / 0.962 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.009831, allocations: 0 / 0.962 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.009841, allocations: 11.98 kB / 0.962 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009843, allocations: 3.938 kB / 0.962 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009843, allocations: 0 / 0.962 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.01002, allocations: 277.7 kB / 0.9623 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.01003, allocations: 19.84 kB / 0.9623 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01005, allocations: 11.98 kB / 0.9623 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.01008, allocations: 3.938 kB / 0.9623 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.01012, allocations: 23.97 kB / 0.9623 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01013, allocations: 16 kB / 0.9623 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002894/0.01042, allocations: 127.2 kB / 0.9625 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01042, allocations: 0 / 0.9625 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002255/0.01064, allocations: 79.95 kB / 0.9625 GB, free: 7.387 MB / 0.9167 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 9.836e-05/0.01074, allocations: 116 kB / 0.9626 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004944/0.01124, allocations: 0.697 MB / 0.9633 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01124, allocations: 128 / 0.9633 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.01131, allocations: 71.91 kB / 0.9634 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.01156, allocations: 51.78 kB / 0.9634 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01194, allocations: 359.3 kB / 0.9638 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.625e-05/0.012, allocations: 116.2 kB / 0.9639 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.01203, allocations: 20.5 kB / 0.9639 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of SimCode: time 2.6e-07/0.01203, allocations: 0 / 0.9639 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of Templates: time 0.00307/0.0151, allocations: 3.39 MB / 0.9672 GB, free: 2.465 MB / 0.9167 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] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 6.944050499238074]