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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 99.61 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 192.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7634 GB, free: 10.92 MB / 0.6231 GB [Timeout remaining time 87] 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=521,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=521,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.001929/0.001929, allocations: 71.89 kB / 1.108 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8116, allocations: 168.7 MB / 1.272 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002159/0.8138, allocations: 0.8297 MB / 1.273 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.8158, allocations: 1.48 MB / 1.275 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.8159, allocations: 7.938 kB / 1.275 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.816, allocations: 19.73 kB / 1.275 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.8161, allocations: 35.72 kB / 1.275 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.8174, allocations: 0.5262 MB / 1.275 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005962/0.818, allocations: 475.2 kB / 1.276 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.8182, allocations: 41.42 kB / 1.276 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.8184, allocations: 183.6 kB / 1.276 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.8186, allocations: 179.5 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.509e-05/0.8187, allocations: 40 kB / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.8189, allocations: 55.98 kB / 1.276 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.8189, allocations: 35.86 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.8191, allocations: 167.5 kB / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.8196, allocations: 413.1 kB / 1.277 GB, free: 252 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8196, allocations: 0 / 1.277 GB, free: 252 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8196, allocations: 3.938 kB / 1.277 GB, free: 248 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8196, allocations: 0 / 1.277 GB, free: 248 kB / 0.9669 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.0008807/0.8205, allocations: 0.6436 MB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.8205, allocations: 12.03 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.8206, allocations: 28.84 kB / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.821, allocations: 268.5 kB / 1.278 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.821, allocations: 24.36 kB / 1.278 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.8211, allocations: 28.38 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.8214, allocations: 147.8 kB / 1.278 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.8214, allocations: 4.172 kB / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.8214, allocations: 11.94 kB / 1.278 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8214, allocations: 0 / 1.278 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.8216, allocations: 83.94 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.8225, allocations: 0.707 MB / 1.279 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.8228, allocations: 171.6 kB / 1.279 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.8228, allocations: 40.84 kB / 1.279 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.8229, allocations: 0 / 1.279 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.8231, allocations: 173.6 kB / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.8231, allocations: 0 / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004855/0.8236, allocations: 241.4 kB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.8236, allocations: 55.41 kB / 1.279 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.8238, allocations: 182.3 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.8239, allocations: 37.7 kB / 1.28 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.824, allocations: 124.6 kB / 1.28 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.8241, allocations: 55.62 kB / 1.28 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.8243, allocations: 113.6 kB / 1.28 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.8244, allocations: 330.8 kB / 1.28 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.8248, allocations: 151.9 kB / 1.28 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.8252, allocations: 249.8 kB / 1.281 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.8257, allocations: 398.6 kB / 1.281 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8257, allocations: 0 / 1.281 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001139/0.8268, allocations: 0.6354 MB / 1.282 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.8269, allocations: 174.7 kB / 1.282 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.827, allocations: 7.938 kB / 1.282 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.827, allocations: 7.984 kB / 1.282 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.827, allocations: 4 kB / 1.282 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.827, allocations: 7.938 kB / 1.282 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/0.8278, allocations: 140 kB / 1.282 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.8279, allocations: 35.97 kB / 1.282 GB, free: 10.57 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.0001946/0.828, allocations: 159 kB / 1.282 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.8281, allocations: 15.91 kB / 1.282 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.8281, allocations: 25.8 kB / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.8281, allocations: 4 kB / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8281, allocations: 0 / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8281, allocations: 0 / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.8288, allocations: 0.5004 MB / 1.283 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8288, allocations: 0 / 1.283 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.8288, allocations: 11.92 kB / 1.283 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8288, allocations: 4 kB / 1.283 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.8288, allocations: 4 kB / 1.283 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8288, allocations: 7.938 kB / 1.283 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8288, allocations: 0 / 1.283 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.8291, allocations: 283.3 kB / 1.283 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.8292, allocations: 89.02 kB / 1.283 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.8292, allocations: 0 / 1.283 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.8293, allocations: 11.98 kB / 1.283 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.8294, allocations: 27.88 kB / 1.283 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.8294, allocations: 15.98 kB / 1.283 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.652e-05/0.8295, allocations: 120.2 kB / 1.283 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8295, allocations: 0 / 1.283 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000377/0.8299, allocations: 79.94 kB / 1.283 GB, free: 9.125 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.0001972/0.8301, allocations: 112.5 kB / 1.283 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000778/0.8308, allocations: 0.5578 MB / 1.284 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8308, allocations: 0 / 1.284 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.831, allocations: 63.91 kB / 1.284 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.8314, allocations: 60.42 kB / 1.284 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.832, allocations: 365.7 kB / 1.284 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.8324, allocations: 0.7242 MB / 1.285 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.8325, allocations: 23.42 kB / 1.285 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.8325, allocations: 0 / 1.285 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.006314/0.8388, allocations: 3.342 MB / 1.288 GB, free: 3.797 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 -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/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] "" 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