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.001576/0.001577, allocations: 100.9 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.001797/0.001797, 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.537/2.537, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 69.33 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.249, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002391/0.2515, allocations: 0.6645 MB / 1.019 GB, free: 9.957 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2533, allocations: 1.184 MB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.2534, allocations: 0 / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.2535, allocations: 7.938 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.2536, allocations: 11.92 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.2543, allocations: 218.2 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2546, allocations: 175.7 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.2547, allocations: 15.98 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2548, allocations: 75.83 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2549, allocations: 47.86 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.2549, allocations: 16 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.2551, allocations: 27.98 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2551, allocations: 8 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.2552, allocations: 55.83 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2554, allocations: 147.7 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2554, allocations: 0 / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2554, allocations: 11.86 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2554, allocations: 0 / 1.021 GB, free: 7.961 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.0004967/0.2559, allocations: 442.9 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.256, allocations: 8.922 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.256, allocations: 12.84 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2562, allocations: 168.4 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2562, allocations: 4.375 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2562, allocations: 12.31 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.2563, allocations: 50.25 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2563, allocations: 192 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2564, allocations: 11.91 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2564, allocations: 4 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.2564, allocations: 12 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.2569, allocations: 356.6 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.257, allocations: 42.44 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.257, allocations: 12.86 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.257, allocations: 4 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.2572, allocations: 79.47 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2572, allocations: 0 / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002456/0.2574, allocations: 101.5 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2575, allocations: 59.39 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.2576, allocations: 113.8 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.2576, allocations: 33.7 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.2577, allocations: 88.12 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.2577, allocations: 23.8 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.2578, allocations: 49.69 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2579, allocations: 318.8 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2581, allocations: 63.95 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.2582, allocations: 88.64 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.2584, allocations: 167.6 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2584, allocations: 4 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004173/0.2588, allocations: 260.8 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.2589, allocations: 67.39 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.2589, allocations: 8.125 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2589, allocations: 3.938 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.338e-05/0.259, allocations: 4 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.259, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.2594, allocations: 51.94 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.2594, allocations: 11.98 kB / 1.023 GB, free: 4.973 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.0001049/0.2595, allocations: 134.5 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.2595, allocations: 11.89 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.2596, allocations: 8.375 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2596, allocations: 4 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2596, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2596, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2597, allocations: 173.6 kB / 1.023 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2597, allocations: 3.984 kB / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.2598, allocations: 0 / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2598, allocations: 0 / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.2598, allocations: 8 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2598, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2598, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2599, allocations: 116.9 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.26, allocations: 81.02 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.26, allocations: 7.875 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.26, allocations: 8 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.2601, allocations: 3.984 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.2601, allocations: 8 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.2601, allocations: 91.27 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2601, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002536/0.2604, allocations: 32 kB / 1.024 GB, free: 4.199 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.0001436/0.2606, allocations: 103.2 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.2609, allocations: 246.6 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2609, allocations: 0 / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.261, allocations: 36.58 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2612, allocations: 22.81 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.2616, allocations: 184.5 kB / 1.024 GB, free: 3.555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2619, allocations: 0.6924 MB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.2619, allocations: 15.38 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2619, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of Templates: time 0.002958/0.2649, allocations: 1.367 MB / 1.026 GB, free: 1.469 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=480 -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