Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_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.00118/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001245/0.001245, allocations: 191.5 kB / 16.14 MB, free: 6.645 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.758, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002129/0.7602, allocations: 0.8867 MB / 0.9499 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.762, allocations: 1.537 MB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.762, allocations: 1.375 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.7622, allocations: 17.23 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.7622, allocations: 22.53 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.7634, allocations: 488.3 kB / 0.9519 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.7638, allocations: 430.2 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.764, allocations: 39.7 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.7642, allocations: 158.9 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.7643, allocations: 135.2 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.7644, allocations: 28.22 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.7646, allocations: 36.77 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.7646, allocations: 43.95 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.7648, allocations: 142.9 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.7652, allocations: 399.4 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7652, allocations: 0 / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7652, allocations: 0 / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7652, allocations: 1.5 kB / 0.9533 GB, free: 6.07 MB / 0.7169 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.0007992/0.766, allocations: 0.6375 MB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.7661, allocations: 13.28 kB / 0.9539 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.7662, allocations: 47.77 kB / 0.954 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.7663, allocations: 32.59 kB / 0.954 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.7666, allocations: 267.2 kB / 0.9543 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.7666, allocations: 16.66 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.7667, allocations: 28.84 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.767, allocations: 149.9 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.767, allocations: 4.906 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.767, allocations: 5.219 kB / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.767, allocations: 7.375 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.7672, allocations: 88.34 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.7679, allocations: 0.7088 MB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.7681, allocations: 173.5 kB / 0.9554 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.7682, allocations: 42.53 kB / 0.9554 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.7682, allocations: 5.203 kB / 0.9555 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.7686, allocations: 167.2 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.7686, allocations: 1.375 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004312/0.769, allocations: 244.2 kB / 0.9558 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.769, allocations: 59.09 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.7692, allocations: 182.8 kB / 0.9561 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.7692, allocations: 38.73 kB / 0.9561 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.7693, allocations: 131.6 kB / 0.9562 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.7694, allocations: 38.05 kB / 0.9563 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.7696, allocations: 117.6 kB / 0.9564 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.7697, allocations: 326.4 kB / 0.9567 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.77, allocations: 158.2 kB / 0.9568 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.7703, allocations: 237.1 kB / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.7707, allocations: 405.1 kB / 0.9575 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7707, allocations: 0.8438 kB / 0.9575 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009503/0.7717, allocations: 0.6238 MB / 0.9581 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/0.7718, allocations: 168.5 kB / 0.9582 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7718, allocations: 2.594 kB / 0.9582 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7718, allocations: 3.875 kB / 0.9582 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.481e-05/0.7719, allocations: 9.312 kB / 0.9582 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7719, allocations: 4.469 kB / 0.9583 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.7727, allocations: 147.3 kB / 0.9584 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.7728, allocations: 35.34 kB / 0.9584 GB, free: 1.812 MB / 0.7169 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.0001573/0.7729, allocations: 159.6 kB / 0.9586 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.773, allocations: 22.62 kB / 0.9586 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.773, allocations: 20.61 kB / 0.9586 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.773, allocations: 2.75 kB / 0.9586 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.773, allocations: 0 / 0.9586 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.773, allocations: 1.375 kB / 0.9586 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.7735, allocations: 0.5031 MB / 0.9591 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7736, allocations: 1.062 kB / 0.9591 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.7736, allocations: 15.11 kB / 0.9591 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7736, allocations: 5.156 kB / 0.9591 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.7736, allocations: 2.062 kB / 0.9591 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7736, allocations: 1.156 kB / 0.9591 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7736, allocations: 0 / 0.9591 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.7739, allocations: 288.5 kB / 0.9594 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.7739, allocations: 88.58 kB / 0.9595 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.774, allocations: 10.7 kB / 0.9595 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.774, allocations: 1.25 kB / 0.9595 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.7741, allocations: 20.58 kB / 0.9595 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.7741, allocations: 13.3 kB / 0.9595 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.117e-05/0.7742, allocations: 122.9 kB / 0.9597 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7742, allocations: 1.031 kB / 0.9597 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000403/0.7746, allocations: 80.94 kB / 0.9597 GB, free: 0.7539 MB / 0.7169 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.0005273/0.7752, allocations: 0.8325 MB / 0.9605 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008905/0.7761, allocations: 0.6075 MB / 0.9611 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7761, allocations: 0 / 0.9611 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.7762, allocations: 78.59 kB / 0.9612 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.7767, allocations: 45.95 kB / 0.9613 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.781, allocations: 3.038 MB / 0.9642 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.7814, allocations: 0.7328 MB / 0.9649 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.7815, allocations: 19.48 kB / 0.965 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.7816, allocations: 58.44 kB / 0.965 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7816, allocations: 0 / 0.965 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.7999, allocations: 5.984 MB / 0.9709 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.8002, allocations: 200.6 kB / 0.9711 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.737, allocations: 0 / 0.9711 GB, free: 9.102 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches