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.001765/0.001765, 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.002386/0.002386, allocations: 211.7 kB / 22.25 MB, free: 4.859 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.033/3.033, allocations: 475.9 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002157/0.002157, allocations: 67.58 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4144, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002481/0.4168, allocations: 0.7989 MB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.4191, allocations: 1.492 MB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.4192, allocations: 7.938 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.4193, allocations: 15.8 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.4194, allocations: 39.7 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.4209, allocations: 0.5196 MB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000577/0.4215, allocations: 479.2 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.4216, allocations: 21.67 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.4219, allocations: 191.7 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.4221, allocations: 151.5 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.4222, allocations: 44 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4223, allocations: 55.98 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.4224, allocations: 43.89 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.4226, allocations: 147.6 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.4231, allocations: 418.7 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4231, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4231, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4231, allocations: 0 / 1.287 GB, free: 7.492 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.0009185/0.424, allocations: 0.5721 MB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4241, allocations: 8.031 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.4242, allocations: 32.8 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.4246, allocations: 211.4 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.4247, allocations: 24.38 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.4248, allocations: 28.38 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.4251, allocations: 150.3 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4251, allocations: 192 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.4251, allocations: 7.922 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.4251, allocations: 7.984 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.4253, allocations: 87.75 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.4263, allocations: 0.5626 MB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4265, allocations: 90.55 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.4266, allocations: 40.83 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.4266, allocations: 0 / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.427, allocations: 157.4 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.427, allocations: 4 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004948/0.4275, allocations: 245.4 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4275, allocations: 63.34 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.4277, allocations: 190.7 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.4278, allocations: 45.7 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4279, allocations: 124.6 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4279, allocations: 47.67 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.4281, allocations: 113.7 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4283, allocations: 334.8 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.4288, allocations: 308.4 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.4293, allocations: 390.6 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.43, allocations: 407.7 kB / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.43, allocations: 0 / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001511/0.4315, allocations: 0.7835 MB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.4318, allocations: 160.5 kB / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4318, allocations: 0 / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.4318, allocations: 7.938 kB / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.4319, allocations: 15.92 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4319, allocations: 4 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007528/0.4326, allocations: 140 kB / 1.292 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/0.4327, allocations: 35.95 kB / 1.293 GB, free: 1.699 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.0001971/0.4329, allocations: 163 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.4329, allocations: 19.91 kB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.433, allocations: 17.8 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.433, allocations: 7.938 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.433, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.433, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.4336, allocations: 443.9 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4336, allocations: 4 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.4336, allocations: 4.062 kB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4336, allocations: 7.938 kB / 1.293 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4336, allocations: 4 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.4337, allocations: 11.98 kB / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4337, allocations: 0 / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.434, allocations: 277.9 kB / 1.293 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.434, allocations: 19.84 kB / 1.293 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.434, allocations: 3.984 kB / 1.293 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.4341, allocations: 8 kB / 1.293 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4342, allocations: 19.97 kB / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4342, allocations: 7.938 kB / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001565/0.4343, allocations: 123.2 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4343, allocations: 0 / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003782/0.4347, allocations: 83.89 kB / 1.294 GB, free: 448 kB / 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.000186/0.4349, allocations: 115.8 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.436, allocations: 0.6926 MB / 1.294 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.436, allocations: 0 / 1.294 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.4361, allocations: 63.91 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.4365, allocations: 52.58 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.4372, allocations: 324.1 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.4373, allocations: 112.1 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.04e-05/0.4374, allocations: 29.47 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.4374, allocations: 23.44 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.4374, allocations: 0 / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.01088/0.4483, allocations: 5.231 MB / 1.3 GB, free: 9.789 MB / 0.9981 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 -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: 9.894209925085306]