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.007007/0.007007, allocations: 97.69 kB / 15.73 MB, free: 5.996 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.001892/0.001891, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 2.467/2.467, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 67.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.262, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001717/0.2638, allocations: 0.8375 MB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2655, allocations: 1.479 MB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.2655, allocations: 3.938 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.2656, allocations: 19.8 kB / 1.169 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.2657, allocations: 27.72 kB / 1.169 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2668, allocations: 0.5167 MB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.2673, allocations: 0.4953 MB / 1.17 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2674, allocations: 45.47 kB / 1.17 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2676, allocations: 187.6 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.2679, allocations: 175.5 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.2679, allocations: 40 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2681, allocations: 55.98 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.2681, allocations: 43.84 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2683, allocations: 163.5 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.2687, allocations: 415 kB / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2687, allocations: 0 / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.148e-06/0.2687, allocations: 0 / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2688, allocations: 3.938 kB / 1.171 GB, free: 2.859 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.0007149/0.2695, allocations: 0.6436 MB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2695, allocations: 12.02 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.2696, allocations: 46.69 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.2696, allocations: 32.83 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2699, allocations: 257.1 kB / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.27, allocations: 20.38 kB / 1.172 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.27, allocations: 28.38 kB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.2703, allocations: 157.9 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2703, allocations: 7.938 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.2703, allocations: 11.97 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2703, allocations: 4 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2705, allocations: 79.95 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.2713, allocations: 0.7071 MB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2715, allocations: 167.7 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.2715, allocations: 40.84 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.2716, allocations: 0 / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.2718, allocations: 165.9 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.2718, allocations: 0 / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.0004146/0.2722, allocations: 241.5 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.2723, allocations: 59.34 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2724, allocations: 182.8 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.2725, allocations: 45.69 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2726, allocations: 128.6 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.2727, allocations: 43.62 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.2729, allocations: 117.6 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.273, allocations: 326.8 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.2733, allocations: 155.9 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.2737, allocations: 246.1 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.2741, allocations: 408.8 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2742, allocations: 4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009407/0.2751, allocations: 0.6155 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.2752, allocations: 172.4 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2752, allocations: 4 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2752, allocations: 4 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.2753, allocations: 11.94 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2753, allocations: 7.984 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.276, allocations: 140 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.2761, allocations: 27.98 kB / 1.176 GB, free: 13.15 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.0001539/0.2763, allocations: 163.1 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.2763, allocations: 23.8 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.2763, allocations: 13.88 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2763, allocations: 4 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2763, allocations: 0 / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2764, allocations: 0 / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.2769, allocations: 0.5157 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2769, allocations: 0 / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.2769, allocations: 8 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2769, allocations: 0 / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.277, allocations: 11.98 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.277, allocations: 0 / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.277, allocations: 0 / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.2773, allocations: 283.2 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.2773, allocations: 97 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2774, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.2774, allocations: 8 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2775, allocations: 19.97 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2775, allocations: 12 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.2776, allocations: 115.2 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2776, allocations: 0 / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003287/0.2779, allocations: 87.88 kB / 1.177 GB, free: 11.71 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.000627/0.2786, allocations: 0.8345 MB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007486/0.2793, allocations: 0.6217 MB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2793, allocations: 0 / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2794, allocations: 67.92 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2798, allocations: 62.52 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.2834, allocations: 3 MB / 1.182 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2838, allocations: 0.7281 MB / 1.182 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.88e-05/0.2838, allocations: 21.55 kB / 1.182 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.2839, allocations: 59.41 kB / 1.182 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2839, allocations: 0 / 1.182 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.265/2.549, allocations: 6.371 MB / 1.189 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/14.2, allocations: 17.53 kB / 1.189 GB, free: 15.8 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 & /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=400 --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