Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_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.007843/0.007843, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001829/0.001829, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8502, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00205/0.8523, allocations: 0.843 MB / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.8543, allocations: 1.478 MB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.8545, allocations: 7.938 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.8546, allocations: 23.73 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.8547, allocations: 31.72 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.8561, allocations: 0.5257 MB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.8569, allocations: 499.2 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.857, allocations: 45.45 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.8573, allocations: 175.8 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.8576, allocations: 179.5 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.8577, allocations: 40.05 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.8579, allocations: 59.94 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.8579, allocations: 43.84 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.8581, allocations: 155.5 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.8586, allocations: 413.1 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8586, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8586, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.8586, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 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.0008113/0.8594, allocations: 0.6477 MB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8595, allocations: 12.62 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.8595, allocations: 46.73 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.8596, allocations: 28.75 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.86, allocations: 267.9 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.86, allocations: 16.38 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.8601, allocations: 36.36 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.8604, allocations: 149.9 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8604, allocations: 3.938 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.8604, allocations: 7.984 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8604, allocations: 8 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.8606, allocations: 83.89 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.8614, allocations: 0.6954 MB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.8616, allocations: 171.8 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.8616, allocations: 52.77 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.8617, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.8619, allocations: 151.2 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 3.146e-06/0.8619, allocations: 3.984 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0005053/0.8624, allocations: 251.5 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.8625, allocations: 59.41 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.8627, allocations: 186.1 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/0.8628, allocations: 41.7 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.8629, allocations: 120.5 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.863, allocations: 43.5 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.8633, allocations: 117.6 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8635, allocations: 330.8 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.864, allocations: 151.9 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.8646, allocations: 247 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.8653, allocations: 409.5 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.8653, allocations: 8 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001573/0.8669, allocations: 0.6108 MB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.8671, allocations: 164.4 kB / 1.175 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8671, allocations: 3.984 kB / 1.175 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.8671, allocations: 8.344 kB / 1.175 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.8672, allocations: 19.92 kB / 1.176 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.8672, allocations: 4 kB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.8683, allocations: 135.7 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8684, allocations: 35.97 kB / 1.176 GB, free: 9.613 MB / 0.9044 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.0002282/0.8686, allocations: 151.1 kB / 1.176 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.8687, allocations: 19.75 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.8688, allocations: 17.88 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8688, allocations: 0 / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8688, allocations: 0 / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.8688, allocations: 7.984 kB / 1.176 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.8696, allocations: 0.5099 MB / 1.176 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8696, allocations: 0 / 1.176 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.8697, allocations: 7.938 kB / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8697, allocations: 0 / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.8697, allocations: 11.98 kB / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.8697, allocations: 0 / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8697, allocations: 0 / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.8702, allocations: 293.2 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.8703, allocations: 88.92 kB / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.8703, allocations: 0 / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.8705, allocations: 4.094 kB / 1.177 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.8706, allocations: 27.91 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.8706, allocations: 4 kB / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001177/0.8707, allocations: 128.2 kB / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8707, allocations: 0 / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006608/0.8714, allocations: 83.92 kB / 1.177 GB, free: 8.172 MB / 0.9044 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.0008589/0.8723, allocations: 0.8364 MB / 1.178 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.8734, allocations: 0.6221 MB / 1.178 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8734, allocations: 4.188 kB / 1.178 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.8736, allocations: 75.91 kB / 1.178 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.8743, allocations: 47.81 kB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.88, allocations: 2.993 MB / 1.181 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.8804, allocations: 0.7242 MB / 1.182 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.8805, allocations: 21.55 kB / 1.182 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.8806, allocations: 63.41 kB / 1.182 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.8806, allocations: 0 / 1.182 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.9113, allocations: 6.367 MB / 1.188 GB, free: 12.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.862, allocations: 17.91 kB / 1.188 GB, free: 12.28 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches