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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 110.5 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001976, allocations: 188.1 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9072/0.9086, allocations: 151.6 MB / 1.167 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002473/0.9112, allocations: 0.8471 MB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.9137, allocations: 1.478 MB / 1.17 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.9139, allocations: 4 kB / 1.17 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.914, allocations: 27.73 kB / 1.17 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.9142, allocations: 31.7 kB / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.9156, allocations: 0.5218 MB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008035/0.9164, allocations: 499.2 kB / 1.171 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.9166, allocations: 41.48 kB / 1.171 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.9169, allocations: 183.7 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.9171, allocations: 179.5 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.9172, allocations: 40 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.9174, allocations: 59.97 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.9174, allocations: 43.84 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.9177, allocations: 155.5 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.9181, allocations: 411.8 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.9182, allocations: 0 / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.175e-06/0.9182, allocations: 0 / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.9182, allocations: 3.938 kB / 1.172 GB, free: 15.55 MB / 0.9044 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.0008969/0.9191, allocations: 0.6475 MB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.9192, allocations: 12.92 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.9193, allocations: 28.84 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.9197, allocations: 272 kB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.9197, allocations: 20.36 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.9198, allocations: 28.38 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.92, allocations: 155.7 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9201, allocations: 192 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.9201, allocations: 7.938 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.9201, allocations: 7.984 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.9203, allocations: 87.94 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.9212, allocations: 0.6994 MB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.9214, allocations: 171.6 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.9215, allocations: 48.84 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.9215, allocations: 0 / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.9219, allocations: 157.6 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.9219, allocations: 0 / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004774/0.9224, allocations: 243.6 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.9224, allocations: 55.41 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.9226, allocations: 186.2 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.9227, allocations: 41.7 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.9228, allocations: 124.6 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.9228, allocations: 47.67 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.923, allocations: 117.6 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9232, allocations: 326.8 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.9235, allocations: 151.9 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.9239, allocations: 252.8 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.9244, allocations: 401.3 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.9244, allocations: 7.938 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009854/0.9254, allocations: 0.611 MB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.9255, allocations: 172.5 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9255, allocations: 7.938 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.9256, allocations: 4 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.9256, allocations: 8.344 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9256, allocations: 11.94 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.9264, allocations: 131.7 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.9265, allocations: 35.97 kB / 1.177 GB, free: 9.891 MB / 0.9044 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.0001914/0.9267, allocations: 163.1 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.9267, allocations: 23.8 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.9268, allocations: 21.8 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9268, allocations: 4 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9268, allocations: 0 / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9268, allocations: 0 / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.9274, allocations: 0.5023 MB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9274, allocations: 0 / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.9275, allocations: 11.92 kB / 1.177 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9275, allocations: 0 / 1.177 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.9275, allocations: 4 kB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9276, allocations: 0 / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9276, allocations: 0 / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.9279, allocations: 289.7 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.928, allocations: 89.02 kB / 1.178 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.928, allocations: 15.92 kB / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.9281, allocations: 0 / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.9282, allocations: 19.98 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.9282, allocations: 11.98 kB / 1.178 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.9283, allocations: 124.2 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9283, allocations: 0 / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003612/0.9286, allocations: 79.89 kB / 1.178 GB, free: 8.445 MB / 0.9044 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.0002004/0.9289, allocations: 120.4 kB / 1.178 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007925/0.9297, allocations: 0.6178 MB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.9297, allocations: 4 kB / 1.179 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.9298, allocations: 83.89 kB / 1.179 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.9302, allocations: 60.47 kB / 1.179 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.9308, allocations: 362.2 kB / 1.179 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.9313, allocations: 0.7281 MB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.9313, allocations: 23.42 kB / 1.18 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.9313, allocations: 0 / 1.18 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of Templates: time 0.005818/0.9372, allocations: 3.348 MB / 1.183 GB, free: 3.023 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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