Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.001766/0.001766, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.002176/0.002176, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 64 kB / 0.814 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3492, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002384/0.3516, allocations: 0.6667 MB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3536, allocations: 1.185 MB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.3537, allocations: 0 / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.3537, allocations: 7.938 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.3539, allocations: 11.86 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.3546, allocations: 222.4 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3549, allocations: 179.7 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.355, allocations: 12 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3552, allocations: 63.94 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3553, allocations: 75.77 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.3554, allocations: 16 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.3555, allocations: 23.98 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.3555, allocations: 11.94 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.3556, allocations: 59.81 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3558, allocations: 139.7 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3559, allocations: 0 / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3559, allocations: 0 / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3559, allocations: 0 / 0.9537 GB, free: 5.379 MB / 0.7325 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.0005817/0.3565, allocations: 446.6 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3565, allocations: 12.03 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/0.3566, allocations: 12.84 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3567, allocations: 168.4 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3568, allocations: 8.375 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.3568, allocations: 12.36 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3569, allocations: 50.17 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.357, allocations: 4.188 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.357, allocations: 3.938 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.357, allocations: 3.938 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.357, allocations: 19.98 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.3576, allocations: 352.7 kB / 0.9548 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.293e-05/0.3577, allocations: 38.52 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.3577, allocations: 16.88 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3577, allocations: 0 / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3579, allocations: 83.38 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3579, allocations: 0 / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002694/0.3582, allocations: 97.58 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3583, allocations: 67.33 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.3584, allocations: 117.8 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3584, allocations: 29.7 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3585, allocations: 88.14 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3585, allocations: 15.81 kB / 0.9553 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.3586, allocations: 45.69 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3587, allocations: 326.8 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3589, allocations: 55.97 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.359, allocations: 96.25 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3592, allocations: 155.6 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3592, allocations: 0 / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004269/0.3597, allocations: 265.2 kB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.3597, allocations: 67.39 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3597, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3598, allocations: 4 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.3598, allocations: 3.938 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3598, allocations: 12.11 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.3602, allocations: 55.88 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3602, allocations: 8 kB / 0.9563 GB, free: 2.387 MB / 0.7325 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.0001197/0.3603, allocations: 131.7 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.3604, allocations: 7.906 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.3604, allocations: 12.44 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3604, allocations: 8 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3604, allocations: 0 / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3604, allocations: 0 / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3606, allocations: 181.6 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3606, allocations: 0 / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.3607, allocations: 7.938 kB / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3607, allocations: 0 / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3607, allocations: 4 kB / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3607, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3607, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3609, allocations: 117.3 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.3609, allocations: 77.11 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.361, allocations: 0 / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/0.361, allocations: 3.984 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.361, allocations: 4 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3611, allocations: 4 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.3611, allocations: 95.2 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3611, allocations: 4 kB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002646/0.3614, allocations: 35.91 kB / 0.957 GB, free: 1.613 MB / 0.7325 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.0002285/0.3616, allocations: 107.2 kB / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.362, allocations: 246.7 kB / 0.9573 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.362, allocations: 0 / 0.9573 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.3621, allocations: 32.25 kB / 0.9574 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.3624, allocations: 22.36 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.363, allocations: 158.8 kB / 0.9575 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.3633, allocations: 0.6922 MB / 0.9582 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.3633, allocations: 4 kB / 0.9582 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.3634, allocations: 11.44 kB / 0.9582 GB, free: 268 kB / 0.7325 GB Notification: Performance of SimCode: time 2.785e-06/0.3634, allocations: 0 / 0.9582 GB, free: 268 kB / 0.7325 GB Notification: Performance of Templates: time 0.005523/0.3689, allocations: 1.85 MB / 0.96 GB, free: 14.44 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches