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.001703/0.001703, allocations: 110 kB / 16.41 MB, free: 6.5 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.001979/0.001979, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.2 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.25/2.25, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 71.88 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.813, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001823/0.8148, allocations: 0.8392 MB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.8165, allocations: 1.471 MB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.8166, allocations: 2.344 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.8167, allocations: 24.27 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.8168, allocations: 41.22 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.8182, allocations: 0.516 MB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.8189, allocations: 0.4931 MB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.819, allocations: 44.28 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.8193, allocations: 185.5 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.8195, allocations: 172.2 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.8196, allocations: 41.25 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.8197, allocations: 59.03 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.8198, allocations: 45.89 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.82, allocations: 162.3 kB / 1.093 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.8206, allocations: 412.4 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8206, allocations: 0 / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8206, allocations: 0.75 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8206, allocations: 0 / 1.093 GB, free: 3.02 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.0006845/0.8213, allocations: 0.6388 MB / 1.094 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.8213, allocations: 13.53 kB / 1.094 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.8214, allocations: 28.61 kB / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.8217, allocations: 269.9 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.8218, allocations: 18.89 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.8218, allocations: 29.14 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.8221, allocations: 147.9 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.8221, allocations: 4.719 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.8222, allocations: 10.2 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8222, allocations: 7.922 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.8223, allocations: 81.52 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.8232, allocations: 0.6948 MB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.8234, allocations: 172.1 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.8234, allocations: 46.66 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.8235, allocations: 6.516 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.8237, allocations: 160.2 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.8237, allocations: 192 / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005207/0.8242, allocations: 245.7 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8243, allocations: 59.61 kB / 1.096 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8244, allocations: 186.9 kB / 1.096 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.8245, allocations: 39.33 kB / 1.096 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.8246, allocations: 127.3 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.8246, allocations: 38.08 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.8248, allocations: 115 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.8249, allocations: 328.8 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.8252, allocations: 153.1 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.8256, allocations: 246 kB / 1.097 GB, free: 292 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.8261, allocations: 411.8 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8261, allocations: 1 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001143/0.8272, allocations: 0.6154 MB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.8274, allocations: 163.2 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.8274, allocations: 7.062 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8274, allocations: 4.594 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.8275, allocations: 19.34 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.8275, allocations: 12.59 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.8283, allocations: 140.5 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.8284, allocations: 32.55 kB / 1.098 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.0001966/0.8286, allocations: 153.2 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.8286, allocations: 16.61 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.8287, allocations: 22.56 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.8287, allocations: 2.219 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8287, allocations: 0 / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8287, allocations: 2.594 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.8294, allocations: 0.5155 MB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8294, allocations: 1.125 kB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.8294, allocations: 8.984 kB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8295, allocations: 1.156 kB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.8295, allocations: 7.656 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.8295, allocations: 1.797 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8295, allocations: 0 / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.8298, allocations: 281.8 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.8299, allocations: 94 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.8299, allocations: 3.266 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.83, allocations: 11.09 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.8301, allocations: 18.23 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.8301, allocations: 7.688 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.8302, allocations: 124 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8302, allocations: 0 / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004072/0.8306, allocations: 82.48 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.0001883/0.8308, allocations: 117.5 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008231/0.8316, allocations: 0.6166 MB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8317, allocations: 4 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.8318, allocations: 80.58 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.8322, allocations: 60.36 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.8329, allocations: 355.4 kB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.8332, allocations: 0.7322 MB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.8333, allocations: 23.09 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.8333, allocations: 0 / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.007/0.8403, allocations: 3.339 MB / 1.105 GB, free: 12.55 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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