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.001585/0.001585, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001928/0.001928, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.14 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.293/2.293, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8149, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002006/0.817, allocations: 0.8318 MB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.8188, allocations: 1.482 MB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.8189, allocations: 1.156 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.819, allocations: 16.11 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.8191, allocations: 36.41 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.8205, allocations: 0.5204 MB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.8212, allocations: 0.4965 MB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.8213, allocations: 44.27 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.8216, allocations: 185.2 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.8219, allocations: 168.6 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.822, allocations: 41.56 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.8221, allocations: 54.14 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.8222, allocations: 46.89 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.8224, allocations: 157.6 kB / 1.093 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.823, allocations: 416.8 kB / 1.093 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.823, allocations: 0 / 1.093 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.823, allocations: 4 kB / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.823, allocations: 0.6562 kB / 1.093 GB, free: 2.996 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.0007357/0.8238, allocations: 0.6386 MB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8238, allocations: 9.312 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.8239, allocations: 29.36 kB / 1.094 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.8242, allocations: 273.1 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.8243, allocations: 17.66 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.8244, allocations: 30.86 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.8247, allocations: 154.6 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8247, allocations: 192 / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.8247, allocations: 10.95 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.8247, allocations: 2.625 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.8249, allocations: 86.36 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.8258, allocations: 0.6987 MB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.826, allocations: 167.4 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.8261, allocations: 43.98 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.8261, allocations: 1.438 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.8265, allocations: 157.9 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.8265, allocations: 4 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005462/0.827, allocations: 243.5 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.8271, allocations: 64.67 kB / 1.096 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.8272, allocations: 181.9 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.8273, allocations: 39.88 kB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.8274, allocations: 127.9 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.8275, allocations: 37.19 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.8277, allocations: 115.1 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.8278, allocations: 333.2 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.8281, allocations: 153 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.8285, allocations: 238.5 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.829, allocations: 414.1 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.829, allocations: 1.406 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001122/0.8301, allocations: 0.6202 MB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.8302, allocations: 164.6 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8303, allocations: 6.656 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.8303, allocations: 4.719 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.256e-05/0.8303, allocations: 14.64 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.8304, allocations: 10.33 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/0.8312, allocations: 138.2 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.8313, allocations: 30.42 kB / 1.098 GB, free: 15.38 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.0002098/0.8315, allocations: 156.7 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.8315, allocations: 15.59 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.8316, allocations: 27.38 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8316, allocations: 2.188 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.8316, allocations: 0.8125 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8316, allocations: 5.969 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.8322, allocations: 0.5163 MB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8322, allocations: 0 / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.8323, allocations: 4.5 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8323, allocations: 1.719 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.8323, allocations: 8.406 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8323, allocations: 5.297 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8323, allocations: 0 / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.8326, allocations: 281.8 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.8327, allocations: 99.23 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.8327, allocations: 2.625 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.8328, allocations: 6.25 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.8329, allocations: 18.33 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.8329, allocations: 8.562 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.937e-05/0.833, allocations: 123.4 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.833, allocations: 0 / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003961/0.8334, allocations: 82.58 kB / 1.099 GB, free: 14.42 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.0001819/0.8336, allocations: 118.2 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008379/0.8344, allocations: 0.6141 MB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8345, allocations: 8.25 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.8346, allocations: 83.34 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.8351, allocations: 52.16 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.8357, allocations: 351.2 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.836, allocations: 0.7317 MB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.8361, allocations: 23.98 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8361, allocations: 1.125 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.007118/0.8432, allocations: 3.337 MB / 1.105 GB, free: 12.53 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