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.001495/0.001495, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001774/0.001774, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.518/3.518, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_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.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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 66.33 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002465/0.3917, allocations: 0.8078 MB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3938, allocations: 1.486 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.3938, allocations: 3.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.394, allocations: 15.8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.394, allocations: 35.72 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.3953, allocations: 0.5199 MB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000597/0.3959, allocations: 487.1 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.396, allocations: 29.66 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3963, allocations: 187.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.3965, allocations: 147.5 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.3966, allocations: 44 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3967, allocations: 51.98 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3968, allocations: 43.84 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.397, allocations: 151.6 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.3975, allocations: 418.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 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.0008757/0.3984, allocations: 0.5761 MB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3984, allocations: 12.03 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.443e-05/0.3985, allocations: 28.84 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.3989, allocations: 210.1 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3989, allocations: 20.38 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.399, allocations: 28.38 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.3993, allocations: 154.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3993, allocations: 192 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3993, allocations: 11.92 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3993, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3995, allocations: 87.89 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.4004, allocations: 0.5664 MB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.4006, allocations: 86.55 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.4006, allocations: 40.83 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.4007, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.401, allocations: 159.3 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.401, allocations: 96 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005088/0.4015, allocations: 254.7 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4015, allocations: 63.34 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.4017, allocations: 182.7 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.4018, allocations: 41.7 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4019, allocations: 124.6 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.4019, allocations: 39.75 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.4021, allocations: 113.6 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4023, allocations: 326.8 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.4027, allocations: 312.4 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.4032, allocations: 390.6 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.4038, allocations: 412.1 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4038, allocations: 0 / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001178/0.4049, allocations: 0.7856 MB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.4051, allocations: 160.5 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4051, allocations: 0 / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4051, allocations: 7.938 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.4051, allocations: 15.92 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4051, allocations: 4.344 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.4059, allocations: 135.7 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.406, allocations: 35.91 kB / 1.335 GB, free: 7.664 MB / 1.029 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.0001987/0.4062, allocations: 167.5 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.4062, allocations: 15.91 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.4062, allocations: 17.81 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4062, allocations: 7.922 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4062, allocations: 0 / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4062, allocations: 0 / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.4068, allocations: 443.9 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4068, allocations: 0 / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.4068, allocations: 12.06 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.4068, allocations: 7.922 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4069, allocations: 4 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.4069, allocations: 7.984 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4069, allocations: 0 / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4072, allocations: 276.7 kB / 1.336 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.4072, allocations: 19.84 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4072, allocations: 7.984 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.4073, allocations: 4 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.4074, allocations: 19.97 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4074, allocations: 4 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.792e-05/0.4075, allocations: 127.2 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4075, allocations: 0 / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003813/0.4079, allocations: 83.89 kB / 1.336 GB, free: 6.395 MB / 1.029 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.0001681/0.408, allocations: 115.1 kB / 1.336 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.409, allocations: 0.6932 MB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.409, allocations: 0 / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.4091, allocations: 67.97 kB / 1.337 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.4095, allocations: 46.36 kB / 1.337 GB, free: 5.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.4102, allocations: 332 kB / 1.337 GB, free: 5.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4103, allocations: 120.1 kB / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.4104, allocations: 21.47 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.4104, allocations: 23.44 kB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4104, allocations: 0 / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of Templates: time 0.009852/0.4203, allocations: 5.234 MB / 1.343 GB, free: 15.74 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.840157648548484]