Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001737/0.001737, allocations: 110 kB / 18.93 MB, free: 2.945 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.002127/0.002127, allocations: 194.5 kB / 22.23 MB, free: 5.152 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.637/1.637, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.88 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 160.8 MB / 1.218 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002446/1.055, allocations: 0.837 MB / 1.219 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002292/1.057, allocations: 1.497 MB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/1.057, allocations: 6.375 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/1.058, allocations: 21.08 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/1.058, allocations: 33.05 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/1.059, allocations: 0.5176 MB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006279/1.06, allocations: 481.7 kB / 1.222 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/1.06, allocations: 29.45 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/1.06, allocations: 187.5 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/1.06, allocations: 178.8 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.515e-05/1.06, allocations: 40.12 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/1.061, allocations: 55.67 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/1.061, allocations: 42.66 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/1.061, allocations: 162 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/1.061, allocations: 419.6 kB / 1.223 GB, free: 404 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.061, allocations: 5 kB / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/1.061, allocations: 0 / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.061, allocations: 0 / 1.223 GB, free: 400 kB / 0.92 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.0009591/1.062, allocations: 0.6425 MB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.062, allocations: 9.125 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.063, allocations: 36.92 kB / 1.224 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/1.063, allocations: 267.4 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/1.063, allocations: 16.78 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/1.063, allocations: 29.62 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/1.063, allocations: 155.3 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.063, allocations: 192 / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/1.063, allocations: 14.02 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.063, allocations: 6.844 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/1.064, allocations: 79.86 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/1.065, allocations: 0.707 MB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/1.065, allocations: 158.2 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/1.065, allocations: 47.48 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/1.065, allocations: 5.25 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/1.065, allocations: 152.8 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.634e-06/1.065, allocations: 1.125 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0005404/1.066, allocations: 246.4 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.066, allocations: 54.69 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/1.066, allocations: 188.9 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/1.066, allocations: 39.52 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/1.066, allocations: 123.3 kB / 1.226 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/1.066, allocations: 47.45 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/1.067, allocations: 112.7 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.067, allocations: 328 kB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/1.067, allocations: 152.9 kB / 1.226 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/1.068, allocations: 237.8 kB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/1.068, allocations: 424.9 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.068, allocations: 1.562 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001135/1.069, allocations: 0.6244 MB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/1.07, allocations: 168.5 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.07, allocations: 5.969 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.07, allocations: 4.469 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/1.07, allocations: 13.59 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.07, allocations: 7.734 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/1.07, allocations: 135.8 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/1.07, allocations: 35.19 kB / 1.228 GB, free: 12.19 MB / 0.9356 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.0002353/1.071, allocations: 164.3 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.071, allocations: 19.95 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/1.071, allocations: 20.5 kB / 1.228 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.071, allocations: 2.625 kB / 1.228 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.071, allocations: 0 / 1.228 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.071, allocations: 7.984 kB / 1.228 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/1.072, allocations: 0.5052 MB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.072, allocations: 0 / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/1.072, allocations: 2.656 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.072, allocations: 1.312 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/1.072, allocations: 10.55 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.072, allocations: 1.406 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.072, allocations: 0 / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/1.072, allocations: 287.3 kB / 1.229 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/1.072, allocations: 93.88 kB / 1.229 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/1.072, allocations: 5.469 kB / 1.229 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/1.072, allocations: 1.375 kB / 1.229 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/1.072, allocations: 24.09 kB / 1.229 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/1.072, allocations: 9.141 kB / 1.229 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001208/1.072, allocations: 123.5 kB / 1.229 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.072, allocations: 0 / 1.229 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000421/1.073, allocations: 80.73 kB / 1.229 GB, free: 11.12 MB / 0.9356 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.0002207/1.073, allocations: 125 kB / 1.229 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008628/1.074, allocations: 0.5549 MB / 1.23 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.074, allocations: 0 / 1.23 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/1.074, allocations: 66.95 kB / 1.23 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/1.075, allocations: 65.48 kB / 1.23 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/1.075, allocations: 323.5 kB / 1.23 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/1.076, allocations: 0.7279 MB / 1.231 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.865e-05/1.076, allocations: 21.2 kB / 1.231 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/1.076, allocations: 25.64 kB / 1.231 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.076, allocations: 0 / 1.231 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of Templates: time 0.009835/1.086, allocations: 4.639 MB / 1.236 GB, free: 5.09 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.633526879362762]