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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 192.2 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002017/0.002017, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9037/0.9057, allocations: 168.7 MB / 1.274 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002167/0.9079, allocations: 0.8444 MB / 1.275 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.9099, allocations: 1.484 MB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.722e-05/0.91, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.9101, allocations: 27.73 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.9102, allocations: 35.7 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.9115, allocations: 0.5266 MB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006232/0.9121, allocations: 475.3 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.9123, allocations: 33.44 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.9125, allocations: 187.7 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.9128, allocations: 171.5 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.9129, allocations: 40 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.913, allocations: 55.98 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.9131, allocations: 43.83 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.9133, allocations: 159.5 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.9138, allocations: 413.5 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9138, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9138, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9138, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 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.0008781/0.9147, allocations: 0.6435 MB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.9147, allocations: 12.03 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.9148, allocations: 28.84 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.9152, allocations: 276 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.9152, allocations: 16.38 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.9153, allocations: 28.38 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.9156, allocations: 155.8 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9156, allocations: 4.125 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.9156, allocations: 7.938 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.9156, allocations: 3.984 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.9158, allocations: 82.19 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.9168, allocations: 0.711 MB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.917, allocations: 167.6 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.9171, allocations: 40.84 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.9171, allocations: 0 / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.9174, allocations: 157.9 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.9174, allocations: 0 / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0005095/0.9179, allocations: 245.4 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.918, allocations: 59.34 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.9182, allocations: 186.2 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/0.9182, allocations: 45.69 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.9184, allocations: 124.6 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.9184, allocations: 47.64 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.9186, allocations: 117.6 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.9188, allocations: 326.8 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.9191, allocations: 155.9 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.9195, allocations: 244.4 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.9201, allocations: 410.6 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9201, allocations: 3.938 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00107/0.9211, allocations: 0.6239 MB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.9213, allocations: 168.8 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9213, allocations: 7.938 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9213, allocations: 4 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.9213, allocations: 8.062 kB / 1.283 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.9214, allocations: 11.92 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.9222, allocations: 139.7 kB / 1.283 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.9222, allocations: 31.98 kB / 1.284 GB, free: 10.31 MB / 0.9825 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.0002022/0.9224, allocations: 155 kB / 1.284 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.9225, allocations: 19.89 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.9225, allocations: 25.81 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9225, allocations: 4 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9225, allocations: 0 / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9225, allocations: 0 / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.9232, allocations: 0.5043 MB / 1.284 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9232, allocations: 0 / 1.284 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.9232, allocations: 12.03 kB / 1.284 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9232, allocations: 3.938 kB / 1.284 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.9232, allocations: 3.984 kB / 1.284 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9232, allocations: 4 kB / 1.284 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9232, allocations: 4 kB / 1.284 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.9235, allocations: 279.3 kB / 1.284 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.9236, allocations: 92.95 kB / 1.285 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.9236, allocations: 15.92 kB / 1.285 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.9237, allocations: 0 / 1.285 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.9238, allocations: 23.92 kB / 1.285 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.9238, allocations: 12 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001008/0.9239, allocations: 124.2 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9239, allocations: 0 / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000392/0.9243, allocations: 83.92 kB / 1.285 GB, free: 8.863 MB / 0.9825 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.0001869/0.9245, allocations: 107.8 kB / 1.285 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000805/0.9253, allocations: 0.558 MB / 1.285 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9253, allocations: 0 / 1.285 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.9254, allocations: 63.97 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.9258, allocations: 55.83 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.9264, allocations: 328 kB / 1.286 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.9268, allocations: 0.7281 MB / 1.287 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.9269, allocations: 25.53 kB / 1.287 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.9269, allocations: 19.44 kB / 1.287 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.9269, allocations: 3.938 kB / 1.287 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of Templates: time 0.01085/0.9378, allocations: 4.609 MB / 1.291 GB, free: 2.312 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.072429115884006]