Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007934/0.007934, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001947/0.001947, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.88 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003455/1.184, allocations: 0.838 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003181/1.187, allocations: 1.481 MB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/1.187, allocations: 1.125 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/1.187, allocations: 19.83 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.591e-05/1.188, allocations: 31.7 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/1.19, allocations: 0.5178 MB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009107/1.19, allocations: 0.5 MB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/1.191, allocations: 45.25 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/1.191, allocations: 176.7 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/1.191, allocations: 176.8 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.192, allocations: 45.16 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/1.192, allocations: 54.05 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/1.192, allocations: 51.08 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002892/1.192, allocations: 157.5 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007613/1.193, allocations: 408 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.193, allocations: 0.8438 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.406e-06/1.193, allocations: 0.7969 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.193, allocations: 0 / 1.092 GB, free: 3.012 MB / 0.8575 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.000972/1.194, allocations: 0.6391 MB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.194, allocations: 8.719 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/1.194, allocations: 33.83 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/1.194, allocations: 268.1 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/1.195, allocations: 23.08 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/1.195, allocations: 30.59 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/1.195, allocations: 147.3 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.195, allocations: 5.031 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/1.195, allocations: 6.406 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.195, allocations: 2.656 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/1.195, allocations: 81.84 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/1.197, allocations: 0.7026 MB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/1.197, allocations: 179.8 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.197, allocations: 43.77 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/1.197, allocations: 1.5 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/1.198, allocations: 153.5 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 3.056e-06/1.198, allocations: 0.7812 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0006959/1.198, allocations: 247.1 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.198, allocations: 56.55 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.198, allocations: 182.2 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/1.199, allocations: 40.05 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/1.199, allocations: 131.1 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/1.199, allocations: 41.95 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.199, allocations: 114.9 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/1.199, allocations: 324.9 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/1.2, allocations: 157.8 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/1.2, allocations: 240.9 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/1.201, allocations: 407.4 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.201, allocations: 1.75 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001638/1.203, allocations: 0.6186 MB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/1.203, allocations: 165.2 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.203, allocations: 15.42 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.203, allocations: 3.75 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/1.203, allocations: 12.55 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.203, allocations: 8.5 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.204, allocations: 135 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.204, allocations: 37.91 kB / 1.097 GB, free: 15.39 MB / 0.8731 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.0002626/1.205, allocations: 159.2 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/1.205, allocations: 15.48 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/1.205, allocations: 26.77 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.205, allocations: 2.219 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.205, allocations: 1.125 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/1.205, allocations: 1.078 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/1.206, allocations: 0.5085 MB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.206, allocations: 0.5625 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/1.206, allocations: 16.81 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.206, allocations: 1 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/1.206, allocations: 4.062 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.206, allocations: 0.9375 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.206, allocations: 2.297 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/1.206, allocations: 280.7 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/1.206, allocations: 90.06 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/1.206, allocations: 7.562 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.206, allocations: 5.812 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/1.207, allocations: 18.64 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.207, allocations: 12.27 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001284/1.207, allocations: 123 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.207, allocations: 0.9375 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007126/1.207, allocations: 78.2 kB / 1.099 GB, free: 14.44 MB / 0.8731 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.0002433/1.208, allocations: 113.7 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001157/1.209, allocations: 0.6206 MB / 1.099 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.209, allocations: 4 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/1.209, allocations: 82.5 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/1.21, allocations: 56.39 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/1.211, allocations: 326.5 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.211, allocations: 0.7265 MB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001124/1.211, allocations: 30.58 kB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/1.211, allocations: 19.27 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/1.211, allocations: 0 / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.01471/1.226, allocations: 4.718 MB / 1.105 GB, free: 12.48 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches