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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001571/0.001571, allocations: 105.7 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.0021/0.0021, allocations: 191.6 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 67.48 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2577, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001664/0.2594, allocations: 0.6595 MB / 0.9509 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2607, allocations: 1.189 MB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.2607, allocations: 0 / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.2608, allocations: 11.92 kB / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.2608, allocations: 7.922 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.2614, allocations: 214.2 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.2616, allocations: 191.6 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.2616, allocations: 7.984 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.2617, allocations: 67.95 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.2618, allocations: 47.81 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2619, allocations: 16 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.2619, allocations: 31.98 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.262, allocations: 7.984 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.262, allocations: 59.83 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.2622, allocations: 147.6 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2622, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2622, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2622, allocations: 0 / 0.9529 GB, free: 6.211 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.0004626/0.2627, allocations: 442.9 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2628, allocations: 12.03 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.2628, allocations: 12.84 kB / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.263, allocations: 168.3 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.263, allocations: 8.375 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.263, allocations: 12.38 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2631, allocations: 46.23 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.2632, allocations: 4.125 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2632, allocations: 3.938 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2632, allocations: 4 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.2632, allocations: 12 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.2637, allocations: 360.6 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.2638, allocations: 34.5 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.2639, allocations: 16.86 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2639, allocations: 0 / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.264, allocations: 87.39 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.264, allocations: 0 / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002286/0.2643, allocations: 105.6 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.2643, allocations: 55.41 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.2644, allocations: 113.8 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.2644, allocations: 29.7 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.2645, allocations: 96.12 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.2645, allocations: 11.81 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2646, allocations: 53.69 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2648, allocations: 318.8 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2649, allocations: 59.97 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.265, allocations: 96.19 kB / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.2652, allocations: 164 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2652, allocations: 0 / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004109/0.2657, allocations: 264.8 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.2657, allocations: 71.39 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2657, allocations: 128 / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2658, allocations: 4 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.2658, allocations: 4 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2658, allocations: 0 / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2662, allocations: 63.92 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.2662, allocations: 12.31 kB / 0.9555 GB, free: 3.215 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 9.712e-05/0.2663, allocations: 135.7 kB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.2663, allocations: 7.906 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.2664, allocations: 8.375 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2664, allocations: 0 / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2664, allocations: 0 / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2664, allocations: 3.938 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.2665, allocations: 177.6 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2665, allocations: 0 / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.2665, allocations: 4 kB / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2665, allocations: 0 / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2665, allocations: 4 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2666, allocations: 4 kB / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2666, allocations: 0 / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.2667, allocations: 116.9 kB / 0.9559 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.2667, allocations: 85.11 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2668, allocations: 3.984 kB / 0.956 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.2668, allocations: 0 / 0.956 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.2668, allocations: 4 kB / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.2668, allocations: 0 / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.2669, allocations: 99.2 kB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2669, allocations: 0 / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002361/0.2671, allocations: 35.91 kB / 0.9561 GB, free: 2.445 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.0001437/0.2673, allocations: 113.8 kB / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.2676, allocations: 250.6 kB / 0.9565 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2676, allocations: 3.938 kB / 0.9565 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.2677, allocations: 28.23 kB / 0.9565 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2679, allocations: 22.48 kB / 0.9565 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.2682, allocations: 172.5 kB / 0.9567 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2684, allocations: 0.6922 MB / 0.9574 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.2685, allocations: 15.44 kB / 0.9574 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2685, allocations: 0 / 0.9574 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of Templates: time 0.002573/0.271, allocations: 1.377 MB / 0.9587 GB, free: 15.69 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 -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