Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MultiOr,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_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.001934/0.001934, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002344/0.002344, allocations: 192.2 kB / 16.26 MB, free: 6.625 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.383/2.383, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5965, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001604/0.5982, allocations: 0.8861 MB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.5996, allocations: 1.483 MB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.5997, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.769e-05/0.5998, allocations: 11.86 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.5998, allocations: 27.78 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.6008, allocations: 490.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.6012, allocations: 0.4915 MB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.6013, allocations: 45.47 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.6015, allocations: 183.6 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.6016, allocations: 147.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.6017, allocations: 40 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.6018, allocations: 56 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.6018, allocations: 39.89 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.602, allocations: 159.5 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.6023, allocations: 409.1 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6023, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6023, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.6023, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 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.0005844/0.6029, allocations: 0.6476 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.603, allocations: 12.03 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.603, allocations: 50.67 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.6031, allocations: 36.59 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.6033, allocations: 256 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.6034, allocations: 16.38 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.6034, allocations: 36.36 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.6036, allocations: 161.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.6036, allocations: 3.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.6037, allocations: 8 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.6037, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.6038, allocations: 79.95 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.6045, allocations: 0.707 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.6046, allocations: 171.6 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.6047, allocations: 44.83 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.6047, allocations: 4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.6049, allocations: 165.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.6049, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0003622/0.6053, allocations: 233.3 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6054, allocations: 63.39 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.6055, allocations: 183.2 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.6055, allocations: 41.7 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.6056, allocations: 124.5 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.6057, allocations: 39.5 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.6058, allocations: 113.6 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.6059, allocations: 330.8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.6062, allocations: 155.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.6065, allocations: 242.1 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.6069, allocations: 406.5 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6069, allocations: 8 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008298/0.6078, allocations: 0.6169 MB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.6078, allocations: 164.4 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6079, allocations: 7.922 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.6079, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.229e-05/0.6079, allocations: 16.33 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6079, allocations: 11.94 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.6087, allocations: 139.6 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.6087, allocations: 35.97 kB / 1.026 GB, free: 8.504 MB / 0.7794 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.0001378/0.6089, allocations: 154.3 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.6089, allocations: 19.75 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.6089, allocations: 17.88 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6089, allocations: 96 / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.609, allocations: 3.938 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.609, allocations: 3.984 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.6094, allocations: 0.5113 MB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6094, allocations: 3.984 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.6094, allocations: 4 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6094, allocations: 64 / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.6095, allocations: 15.98 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.6095, allocations: 0 / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6095, allocations: 0 / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.6097, allocations: 288.9 kB / 1.027 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.6098, allocations: 96.91 kB / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.6098, allocations: 0 / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.6099, allocations: 4 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.6099, allocations: 23.97 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.6099, allocations: 8 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.61, allocations: 124.8 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.61, allocations: 0 / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003202/0.6103, allocations: 83.83 kB / 1.028 GB, free: 7.066 MB / 0.7794 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.0004696/0.6108, allocations: 0.8325 MB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006353/0.6114, allocations: 0.6222 MB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6115, allocations: 4.25 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.6116, allocations: 79.91 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.6119, allocations: 39.95 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.6149, allocations: 3.036 MB / 1.032 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.6151, allocations: 0.7284 MB / 1.033 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.327e-05/0.6152, allocations: 21.55 kB / 1.033 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.6153, allocations: 59.42 kB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6153, allocations: 0 / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.089/1.704, allocations: 6.212 MB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/1.704, allocations: 198.4 kB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/3.515, allocations: 4 kB / 1.039 GB, free: 11.06 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches