Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001465/0.001465, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001383/0.001383, allocations: 189.7 kB / 16.25 MB, free: 6.648 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.577/2.577, allocations: 469.8 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.45 kB / 0.9082 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2556, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001891/0.2575, allocations: 0.8932 MB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2592, allocations: 1.474 MB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.2592, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.2593, allocations: 15.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.2594, allocations: 27.77 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.2605, allocations: 496.2 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.2609, allocations: 0.4953 MB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2611, allocations: 37.48 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.2612, allocations: 179.7 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2614, allocations: 151.6 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.2615, allocations: 40 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.2616, allocations: 51.92 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.2616, allocations: 47.89 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2618, allocations: 159.5 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2622, allocations: 411.2 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2622, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2622, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2622, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 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.0007057/0.2629, allocations: 0.6398 MB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.263, allocations: 16.03 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.263, allocations: 46.73 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.2631, allocations: 28.75 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.2634, allocations: 263.9 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2634, allocations: 16.38 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.2635, allocations: 28.38 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2637, allocations: 147.9 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2638, allocations: 3.938 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2638, allocations: 12 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2638, allocations: 4 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2639, allocations: 87.88 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.2647, allocations: 0.707 MB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2649, allocations: 167.7 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.265, allocations: 45.02 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.265, allocations: 3.938 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.2653, allocations: 161.3 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.2653, allocations: 3.938 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.000413/0.2657, allocations: 246.8 kB / 1.07 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2657, allocations: 59.41 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2659, allocations: 174.3 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.2659, allocations: 45.69 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2661, allocations: 124.4 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2661, allocations: 35.56 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.2663, allocations: 125.5 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2664, allocations: 326.8 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.2667, allocations: 155.8 kB / 1.071 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.2671, allocations: 243.2 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.2675, allocations: 412.5 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2675, allocations: 4 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009249/0.2685, allocations: 0.6241 MB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.2686, allocations: 165.7 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2686, allocations: 0 / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2686, allocations: 4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.2687, allocations: 15.94 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2687, allocations: 4 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/0.2694, allocations: 140 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.2695, allocations: 31.97 kB / 1.073 GB, free: 4.355 MB / 0.8262 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,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.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.0001611/0.2697, allocations: 161.7 kB / 1.073 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.2697, allocations: 19.75 kB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.2697, allocations: 17.86 kB / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2697, allocations: 4 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2697, allocations: 0 / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2698, allocations: 0 / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.2703, allocations: 0.506 MB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2703, allocations: 3.984 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2703, allocations: 8 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2703, allocations: 0 / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2703, allocations: 8 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2704, allocations: 11.94 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2704, allocations: 0 / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.2706, allocations: 284.7 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.2707, allocations: 96.86 kB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2707, allocations: 3.984 kB / 1.074 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.2708, allocations: 8 kB / 1.074 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.2708, allocations: 19.98 kB / 1.074 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2709, allocations: 7.984 kB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.237e-05/0.271, allocations: 124.2 kB / 1.074 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.271, allocations: 0 / 1.074 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003312/0.2713, allocations: 80 kB / 1.074 GB, free: 2.906 MB / 0.8262 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0005972/0.2719, allocations: 0.8328 MB / 1.075 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000741/0.2726, allocations: 0.6234 MB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2727, allocations: 3.938 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.2728, allocations: 79.91 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2731, allocations: 48.62 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.2766, allocations: 3.019 MB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.277, allocations: 0.7281 MB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.549e-05/0.277, allocations: 25.53 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.2771, allocations: 59.42 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2771, allocations: 0 / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/1.345, allocations: 6.219 MB / 1.086 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/1.345, allocations: 198.7 kB / 1.086 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.601, allocations: 4 kB / 1.086 GB, free: 6.902 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches