Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001684/0.001684, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.582/2.582, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 72.91 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001936/0.2998, allocations: 0.66 MB / 1.019 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3014, allocations: 1.18 MB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.3015, allocations: 0 / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.3015, allocations: 7.938 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.3016, allocations: 19.84 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.3022, allocations: 205.2 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.3025, allocations: 191.6 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.3026, allocations: 15.98 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.3027, allocations: 63.89 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3028, allocations: 51.88 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.3028, allocations: 12 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.502e-05/0.3029, allocations: 31.98 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.3029, allocations: 11.97 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.303, allocations: 51.84 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3033, allocations: 151.6 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3033, allocations: 3.938 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3033, allocations: 3.938 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3033, allocations: 0 / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005462/0.3038, allocations: 446.9 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3039, allocations: 12.91 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.304, allocations: 12.84 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3041, allocations: 160.4 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3041, allocations: 8.375 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.3042, allocations: 8.375 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3043, allocations: 50.23 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3043, allocations: 192 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3043, allocations: 3.938 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3043, allocations: 8 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.3044, allocations: 15.94 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.3049, allocations: 352.6 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.305, allocations: 42.5 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.305, allocations: 16.86 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.305, allocations: 4 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.3052, allocations: 87.38 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3052, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002512/0.3055, allocations: 101.6 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3055, allocations: 51.41 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3056, allocations: 117.8 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.3057, allocations: 29.7 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.3058, allocations: 96.12 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3058, allocations: 19.73 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3059, allocations: 49.69 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3061, allocations: 326.8 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3062, allocations: 51.97 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3064, allocations: 97.62 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3066, allocations: 155.6 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3066, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004616/0.3071, allocations: 261.3 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.3071, allocations: 71.52 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3072, allocations: 7.938 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3072, allocations: 7.938 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.3072, allocations: 3.938 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3072, allocations: 4.312 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.3076, allocations: 51.92 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3076, allocations: 12 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001164/0.3078, allocations: 133.7 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3078, allocations: 7.906 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.3078, allocations: 4.375 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3078, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3078, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3078, allocations: 4 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.308, allocations: 177.6 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.308, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.308, allocations: 4 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.308, allocations: 0 / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3081, allocations: 4 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.3081, allocations: 7.922 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.3081, allocations: 4 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3082, allocations: 112.9 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.3083, allocations: 85.02 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.3083, allocations: 3.984 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.3084, allocations: 4.047 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3084, allocations: 16 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3084, allocations: 4 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.3085, allocations: 91.27 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3085, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002342/0.3087, allocations: 24 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001697/0.3089, allocations: 111.2 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.3093, allocations: 246.9 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3093, allocations: 4.25 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.3093, allocations: 27.98 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3096, allocations: 19.92 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.3099, allocations: 184.5 kB / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3103, allocations: 0.6885 MB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3103, allocations: 19.31 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3103, allocations: 0 / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of Templates: time 0.003241/0.3136, allocations: 1.376 MB / 1.026 GB, free: 1.445 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches