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.0007762/0.0007763, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008933/0.0008933, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 240 MB, free: 5.426 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.575/2.575, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005406, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9475/0.9481, allocations: 142.4 MB / 0.9545 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0009138/0.949, allocations: 380.1 kB / 0.9548 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.9505, allocations: 1.166 MB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.9505, allocations: 0 / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.9505, allocations: 1.094 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.9506, allocations: 4.938 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.9512, allocations: 202.2 kB / 0.9562 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.9514, allocations: 137.3 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.9515, allocations: 12.8 kB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.9516, allocations: 54.78 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.9517, allocations: 45.64 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.9517, allocations: 8.156 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.9518, allocations: 26.27 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.9518, allocations: 6.922 kB / 0.9564 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.9519, allocations: 44.77 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.952, allocations: 104.7 kB / 0.9566 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.952, allocations: 4 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.952, allocations: 0 / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.9521, allocations: 0 / 0.9566 GB, free: 6.039 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004138/0.9525, allocations: 408.6 kB / 0.957 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9525, allocations: 8.938 kB / 0.957 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.9526, allocations: 10.89 kB / 0.957 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.9527, allocations: 165.9 kB / 0.9571 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.9527, allocations: 5.594 kB / 0.9572 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.9527, allocations: 15.7 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.9529, allocations: 51.38 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.9529, allocations: 0 / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.9529, allocations: 0.9375 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.9529, allocations: 1.125 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.9529, allocations: 18.66 kB / 0.9572 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.9534, allocations: 355.8 kB / 0.9576 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.9535, allocations: 32.77 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.9535, allocations: 22.44 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.9535, allocations: 1.062 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.9537, allocations: 79.66 kB / 0.9577 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.9537, allocations: 0 / 0.9577 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002523/0.9539, allocations: 111.3 kB / 0.9578 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.954, allocations: 52.56 kB / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.9541, allocations: 123.5 kB / 0.958 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9541, allocations: 37.36 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.9542, allocations: 96.94 kB / 0.9581 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.9542, allocations: 7 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.9542, allocations: 7.094 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.9543, allocations: 317.5 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.9544, allocations: 62.38 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.9546, allocations: 102.6 kB / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.9547, allocations: 110.6 kB / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9547, allocations: 0 / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003775/0.9551, allocations: 261.8 kB / 0.9589 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.9551, allocations: 68.39 kB / 0.959 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9552, allocations: 5.375 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9552, allocations: 13.22 kB / 0.959 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.125e-05/0.9552, allocations: 2.75 kB / 0.959 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9552, allocations: 1.344 kB / 0.959 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.9556, allocations: 84.38 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.9556, allocations: 13.66 kB / 0.9591 GB, free: 3.637 MB / 0.7169 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.9557, allocations: 126.5 kB / 0.9592 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.9557, allocations: 1.875 kB / 0.9592 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.9558, allocations: 10.62 kB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9558, allocations: 4.984 kB / 0.9593 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9558, allocations: 4 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9558, allocations: 0 / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.9559, allocations: 173 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9559, allocations: 1.125 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.9559, allocations: 1.062 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9559, allocations: 1.25 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.956, allocations: 1.344 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.956, allocations: 0 / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.956, allocations: 3.953 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.9561, allocations: 115.5 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.9562, allocations: 82.98 kB / 0.9596 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.9562, allocations: 0.9688 kB / 0.9596 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.9562, allocations: 9.078 kB / 0.9596 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.9563, allocations: 7.438 kB / 0.9596 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.9563, allocations: 10.27 kB / 0.9596 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.9563, allocations: 94.2 kB / 0.9597 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9563, allocations: 1.125 kB / 0.9597 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000239/0.9566, allocations: 30.53 kB / 0.9598 GB, free: 2.98 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.9567, allocations: 111.1 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.9571, allocations: 243.8 kB / 0.9601 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9571, allocations: 0 / 0.9601 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.9571, allocations: 20.5 kB / 0.9601 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.9574, allocations: 14.77 kB / 0.9601 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.9577, allocations: 172.9 kB / 0.9603 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.9578, allocations: 0.6853 MB / 0.961 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.9579, allocations: 11.89 kB / 0.961 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.9579, allocations: 11.56 kB / 0.961 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9579, allocations: 4 kB / 0.961 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.004662/0.9626, allocations: 1.675 MB / 0.9626 GB, free: 0.9531 MB / 0.7169 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 -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/jenkins/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