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.02396/0.02396, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002513/0.002512, allocations: 194.2 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 2.746/2.746, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.09/5.09, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002728, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7448, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003999/0.7488, allocations: 0.8358 MB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.7528, allocations: 1.475 MB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004321/0.7572, allocations: 8 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.7574, allocations: 19.8 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.7577, allocations: 35.64 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.7605, allocations: 0.5135 MB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005296/0.7658, allocations: 0.4953 MB / 1.17 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.7661, allocations: 37.48 kB / 1.17 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.7666, allocations: 191.7 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.7671, allocations: 175.4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.7672, allocations: 43.94 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.7675, allocations: 55.98 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.7676, allocations: 43.84 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.7679, allocations: 159.5 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.7687, allocations: 407 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7688, allocations: 0 / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.287e-06/0.7688, allocations: 0 / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.7688, allocations: 0 / 1.171 GB, free: 2.781 MB / 0.92 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.001824/0.7706, allocations: 0.6553 MB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.7707, allocations: 8.031 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.7709, allocations: 46.67 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.771, allocations: 32.84 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.7715, allocations: 265 kB / 1.172 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.7716, allocations: 20.36 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.7717, allocations: 32.38 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.7721, allocations: 155.7 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.7721, allocations: 7.938 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.7722, allocations: 4 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.7722, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.7725, allocations: 79.94 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.774, allocations: 0.6994 MB / 1.173 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.7744, allocations: 179.6 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.7745, allocations: 40.84 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.7746, allocations: 0 / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.775, allocations: 159.4 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.775, allocations: 0 / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.0008497/0.7758, allocations: 247.6 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.7759, allocations: 55.41 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.7762, allocations: 186.8 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/0.7763, allocations: 41.7 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.7765, allocations: 120.7 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.7766, allocations: 51.61 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.777, allocations: 117.6 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002963/0.7773, allocations: 326.8 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.778, allocations: 155.9 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.7787, allocations: 247.6 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.7795, allocations: 403.7 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.7795, allocations: 4 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001821/0.7814, allocations: 0.6198 MB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.7816, allocations: 170.4 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.7816, allocations: 4.328 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.7817, allocations: 8 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.7817, allocations: 8 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.7818, allocations: 7.938 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.7833, allocations: 139.7 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.7834, allocations: 31.97 kB / 1.176 GB, free: 13.06 MB / 0.9356 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.0003561/0.7838, allocations: 159.1 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.7839, allocations: 23.8 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.784, allocations: 21.86 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.784, allocations: 3.984 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.784, allocations: 4 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.784, allocations: 0 / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7851, allocations: 0.5041 MB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7851, allocations: 0 / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.7852, allocations: 11.92 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.7852, allocations: 0 / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.7853, allocations: 4 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7853, allocations: 0 / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7853, allocations: 0 / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.7859, allocations: 291.3 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.786, allocations: 89.02 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.786, allocations: 4 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.7862, allocations: 11.92 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.7863, allocations: 23.98 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.7863, allocations: 7.984 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000166/0.7865, allocations: 120.2 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7865, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007652/0.7873, allocations: 87.89 kB / 1.177 GB, free: 11.61 MB / 0.9356 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.001195/0.7885, allocations: 0.8291 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.7901, allocations: 0.6182 MB / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7901, allocations: 0 / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.7904, allocations: 87.83 kB / 1.179 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.7911, allocations: 43.89 kB / 1.179 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007031/0.7982, allocations: 3.004 MB / 1.181 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.7988, allocations: 0.7281 MB / 1.182 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.799, allocations: 25.55 kB / 1.182 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.7991, allocations: 55.42 kB / 1.182 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.7992, allocations: 0 / 1.182 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.9014, allocations: 6.369 MB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/17.83, allocations: 13.92 kB / 1.189 GB, free: 15.7 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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