Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.001265/0.001265, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 190.1 kB / 16.67 MB, free: 6.582 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.435/2.435, allocations: 437.1 MB / 0.7106 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2534, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001765/0.2552, allocations: 0.7048 MB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2567, allocations: 1.261 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.2568, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.2569, allocations: 11.86 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.2569, allocations: 15.86 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.2577, allocations: 310 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.2581, allocations: 279.6 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.2582, allocations: 24.09 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2583, allocations: 91.88 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2584, allocations: 91.73 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.2585, allocations: 24 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.2586, allocations: 43.97 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.2586, allocations: 11.98 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2587, allocations: 87.73 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.259, allocations: 219.6 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.259, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.259, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.259, allocations: 0 / 1.169 GB, free: 4.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005553/0.2596, allocations: 492.2 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2596, allocations: 12.03 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2596, allocations: 38.69 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.2597, allocations: 20.89 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2598, allocations: 176.3 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2599, allocations: 4.375 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.2599, allocations: 24.36 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.26, allocations: 65.91 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.26, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.26, allocations: 3.984 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2601, allocations: 4 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.2601, allocations: 12 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.2606, allocations: 428.4 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.2607, allocations: 30.58 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.2607, allocations: 20.94 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-06/0.2607, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.2609, allocations: 103.2 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.261, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0002735/0.2612, allocations: 137.5 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2613, allocations: 55.41 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2614, allocations: 135.6 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.2614, allocations: 29.7 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.2615, allocations: 104.2 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.2615, allocations: 19.86 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.2617, allocations: 65.67 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2618, allocations: 330.8 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.262, allocations: 87.95 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.2622, allocations: 143.9 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.2625, allocations: 227 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2625, allocations: 0 / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006266/0.2631, allocations: 374.5 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.2632, allocations: 107.2 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2632, allocations: 7.922 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2632, allocations: 4 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.667e-05/0.2633, allocations: 0 / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2633, allocations: 4.375 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.2637, allocations: 83.8 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.2638, allocations: 19.98 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001124/0.2639, allocations: 136 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.2639, allocations: 15.88 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.264, allocations: 12.38 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.264, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.264, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.264, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2641, allocations: 193.5 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2641, allocations: 4 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.2642, allocations: 4 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2642, allocations: 0 / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.2642, allocations: 3.938 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.2642, allocations: 4.047 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2642, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2644, allocations: 140.9 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.2644, allocations: 85.06 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2645, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.2645, allocations: 4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2645, allocations: 11.98 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2645, allocations: 7.984 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.2646, allocations: 105.9 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2646, allocations: 0 / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002415/0.2649, allocations: 43.95 kB / 1.173 GB, free: 15.57 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004868/0.2654, allocations: 0.6826 MB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.2658, allocations: 366.2 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2658, allocations: 3.938 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/0.2659, allocations: 39.92 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2661, allocations: 28.36 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.2685, allocations: 2.062 MB / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2688, allocations: 0.6924 MB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.2689, allocations: 8.438 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.2689, allocations: 31.42 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2689, allocations: 0 / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.024/1.293, allocations: 3.811 MB / 1.181 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.938, allocations: 14.41 kB / 1.181 GB, free: 7.727 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches