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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007268/0.007268, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.00126/0.001261, allocations: 196.5 kB / 16.68 MB, free: 5.938 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.324/2.324, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9395, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002258/0.9418, allocations: 0.8372 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.9439, allocations: 1.478 MB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.944, allocations: 1.219 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.9442, allocations: 23.97 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.9443, allocations: 31.88 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.9456, allocations: 0.517 MB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.9463, allocations: 0.4965 MB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.9465, allocations: 37.23 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.9468, allocations: 188.2 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.9471, allocations: 176.9 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.9472, allocations: 40.78 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.9474, allocations: 53.94 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.9475, allocations: 42.67 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.9477, allocations: 163.3 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.9483, allocations: 413.3 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9483, allocations: 1.766 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9483, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9483, allocations: 0 / 1.092 GB, free: 2.738 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.0007462/0.9491, allocations: 0.6359 MB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9492, allocations: 10.61 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.9492, allocations: 46.02 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.9493, allocations: 33.36 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.9497, allocations: 265.3 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.9497, allocations: 21.77 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/0.9498, allocations: 30.78 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.9501, allocations: 152.6 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9501, allocations: 3.938 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.9501, allocations: 2.281 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.9501, allocations: 3.531 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.9503, allocations: 81.3 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.9513, allocations: 0.7103 MB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.9515, allocations: 167.7 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.9516, allocations: 43.84 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.9516, allocations: 1.344 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.9519, allocations: 158.3 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.9519, allocations: 0 / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005351/0.9525, allocations: 243.7 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.9525, allocations: 55.61 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.9527, allocations: 187 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.9528, allocations: 43.3 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.9529, allocations: 128.6 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.9529, allocations: 41.61 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.9532, allocations: 114.8 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.9532, allocations: 328.6 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.9536, allocations: 153.7 kB / 1.095 GB, free: 124 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.954, allocations: 240.9 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.9546, allocations: 411.1 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9546, allocations: 2.547 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001213/0.9559, allocations: 0.6262 MB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.956, allocations: 164.8 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.956, allocations: 2.812 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.956, allocations: 4.594 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.9561, allocations: 15.5 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.9561, allocations: 8.859 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.957, allocations: 136.2 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.9571, allocations: 33.52 kB / 1.097 GB, free: 15.07 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.0002447/0.9573, allocations: 161.9 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.9574, allocations: 20.22 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.9574, allocations: 17.5 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9574, allocations: 3.188 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9574, allocations: 0.6562 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9574, allocations: 0.75 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.9581, allocations: 0.515 MB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9582, allocations: 0 / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.9582, allocations: 5.281 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.9582, allocations: 5.578 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.9582, allocations: 3.094 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.9582, allocations: 1.688 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9582, allocations: 1.281 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.9586, allocations: 287.6 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.9587, allocations: 89.61 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.9587, allocations: 7.562 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.9588, allocations: 7.297 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.9588, allocations: 22.56 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.9589, allocations: 7.219 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000107/0.959, allocations: 119.7 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.959, allocations: 0 / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004093/0.9594, allocations: 83.31 kB / 1.098 GB, free: 14.11 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.0006975/0.9601, allocations: 0.8359 MB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008984/0.961, allocations: 0.6138 MB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.961, allocations: 0 / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.9612, allocations: 85.83 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.9616, allocations: 53.12 kB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.9659, allocations: 2.99 MB / 1.103 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.9663, allocations: 0.7356 MB / 1.103 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.9664, allocations: 22.09 kB / 1.103 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.9665, allocations: 59.25 kB / 1.104 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.12e-07/0.9665, allocations: 0 / 1.104 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.997, allocations: 6.372 MB / 1.11 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.92, allocations: 6.125 kB / 1.11 GB, free: 9.297 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv","/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) Reference file matches