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.001018/0.001018, allocations: 91.92 kB / 16.02 MB, free: 80 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.001462/0.001462, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.312 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.391/2.391, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8114, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000766/0.8122, allocations: 390.6 kB / 0.9561 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.8135, allocations: 1.206 MB / 0.9573 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.8135, allocations: 0 / 0.9573 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.8136, allocations: 0 / 0.9573 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.8136, allocations: 6.062 kB / 0.9573 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.8142, allocations: 204.8 kB / 0.9575 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.8144, allocations: 152.8 kB / 0.9576 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.8145, allocations: 12.42 kB / 0.9576 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.8146, allocations: 55.95 kB / 0.9577 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.8147, allocations: 52.61 kB / 0.9577 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.8147, allocations: 8.656 kB / 0.9577 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.8148, allocations: 22.02 kB / 0.9578 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.8148, allocations: 3.5 kB / 0.9578 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.8149, allocations: 83.27 kB / 0.9578 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.815, allocations: 108.4 kB / 0.9579 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.815, allocations: 0 / 0.9579 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.815, allocations: 1.281 kB / 0.9579 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.815, allocations: 0 / 0.9579 GB, free: 6.082 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.0003804/0.8154, allocations: 413 kB / 0.9583 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8155, allocations: 8.719 kB / 0.9583 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.8155, allocations: 8.531 kB / 0.9584 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.8156, allocations: 174.4 kB / 0.9585 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8156, allocations: 8.922 kB / 0.9585 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.8157, allocations: 13.97 kB / 0.9585 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.8158, allocations: 47.75 kB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.8158, allocations: 192 / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.8158, allocations: 5.375 kB / 0.9586 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8158, allocations: 0 / 0.9586 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.8159, allocations: 19.56 kB / 0.9586 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.8163, allocations: 350.5 kB / 0.9589 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.8163, allocations: 37.48 kB / 0.959 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.8164, allocations: 18.22 kB / 0.959 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.8164, allocations: 1.5 kB / 0.959 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.8165, allocations: 78.91 kB / 0.9591 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.8165, allocations: 1.781 kB / 0.9591 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002192/0.8168, allocations: 107 kB / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.8168, allocations: 56.66 kB / 0.9592 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.8169, allocations: 123.2 kB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.8169, allocations: 32.61 kB / 0.9594 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.817, allocations: 94.08 kB / 0.9595 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.817, allocations: 9.281 kB / 0.9595 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.817, allocations: 26.92 kB / 0.9595 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.8171, allocations: 323.7 kB / 0.9598 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.8172, allocations: 59.59 kB / 0.9599 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.8173, allocations: 102.3 kB / 0.96 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.8175, allocations: 155.4 kB / 0.9601 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8175, allocations: 1.875 kB / 0.9601 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003571/0.8179, allocations: 258 kB / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.8179, allocations: 69.05 kB / 0.9604 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8179, allocations: 1.375 kB / 0.9604 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.818, allocations: 2.75 kB / 0.9604 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.902e-05/0.818, allocations: 1.375 kB / 0.9604 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.818, allocations: 2.75 kB / 0.9604 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.8184, allocations: 86.77 kB / 0.9605 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.8184, allocations: 8.25 kB / 0.9605 GB, free: 3.625 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,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 7.817e-05/0.8185, allocations: 134 kB / 0.9607 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.8185, allocations: 6.656 kB / 0.9607 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.8186, allocations: 9.75 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8186, allocations: 1.375 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8186, allocations: 1.375 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.8186, allocations: 0 / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.641e-05/0.8187, allocations: 184.6 kB / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8187, allocations: 0 / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.8187, allocations: 1.375 kB / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.8187, allocations: 1.375 kB / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8187, allocations: 9.375 kB / 0.9609 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8187, allocations: 0 / 0.9609 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8187, allocations: 0 / 0.9609 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.8189, allocations: 108.7 kB / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.8189, allocations: 82.39 kB / 0.961 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.8189, allocations: 9.453 kB / 0.9611 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.8189, allocations: 5.312 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.819, allocations: 2.75 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.819, allocations: 10.69 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.819, allocations: 90.14 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.819, allocations: 1.375 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002308/0.8193, allocations: 30.12 kB / 0.9612 GB, free: 2.961 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 (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.0001398/0.8194, allocations: 102.5 kB / 0.9613 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.8197, allocations: 252.9 kB / 0.9615 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8197, allocations: 256 / 0.9615 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.8198, allocations: 29.81 kB / 0.9616 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.82, allocations: 18.48 kB / 0.9616 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.8203, allocations: 195 kB / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.8204, allocations: 0.6907 MB / 0.9624 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.8204, allocations: 12.12 kB / 0.9624 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8204, allocations: 0 / 0.9624 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of Templates: time 0.002959/0.8234, allocations: 1.367 MB / 0.9638 GB, free: 1.055 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/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