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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001318/0.001318, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.518/2.518, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8036, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002159/0.8058, allocations: 0.7154 MB / 0.9496 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.8074, allocations: 1.212 MB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.8074, allocations: 0 / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.8075, allocations: 5.312 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.8076, allocations: 5.312 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.8081, allocations: 191.2 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.8083, allocations: 157.5 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.8084, allocations: 8.312 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.8085, allocations: 59.53 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.8086, allocations: 44.94 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.8087, allocations: 9.062 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.8088, allocations: 27.34 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.8088, allocations: 3.375 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.8089, allocations: 54.05 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.8092, allocations: 146.2 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8092, allocations: 0 / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8092, allocations: 1.219 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.8092, allocations: 0 / 0.9515 GB, free: 7.223 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.0005379/0.8097, allocations: 445.9 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.8098, allocations: 9.281 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.8099, allocations: 12.66 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.81, allocations: 174.8 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.81, allocations: 5.656 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.81, allocations: 9.062 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.8102, allocations: 51.12 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8102, allocations: 4.125 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8102, allocations: 5.281 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8102, allocations: 3.984 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.8103, allocations: 15.94 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.8108, allocations: 347.2 kB / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.8109, allocations: 40.09 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.8109, allocations: 19.05 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.8109, allocations: 0 / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.8111, allocations: 93 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8111, allocations: 0 / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000281/0.8114, allocations: 96.2 kB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.8115, allocations: 53.62 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.8115, allocations: 125.1 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.8116, allocations: 33.58 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.8116, allocations: 85.42 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.8117, allocations: 22.38 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.8118, allocations: 48.16 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.8119, allocations: 321.6 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.812, allocations: 62.44 kB / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.8122, allocations: 95.06 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.8124, allocations: 156.2 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8124, allocations: 0 / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004741/0.8129, allocations: 274.8 kB / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.8129, allocations: 68.8 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.8129, allocations: 1.031 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8129, allocations: 1.469 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.634e-05/0.813, allocations: 2.938 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.813, allocations: 9.281 kB / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.8134, allocations: 56.09 kB / 0.9541 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.8134, allocations: 17.3 kB / 0.9541 GB, free: 4.719 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 0.0001025/0.8136, allocations: 122 kB / 0.9543 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.8136, allocations: 6.938 kB / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.8136, allocations: 13.92 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8136, allocations: 0 / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8136, allocations: 1.125 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8136, allocations: 0 / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.8138, allocations: 176.8 kB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8138, allocations: 1.312 kB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.8138, allocations: 9.578 kB / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8138, allocations: 0 / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.8138, allocations: 1.094 kB / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8138, allocations: 1.25 kB / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8138, allocations: 0 / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.814, allocations: 119.7 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.814, allocations: 79.92 kB / 0.9546 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.814, allocations: 4 kB / 0.9546 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.8141, allocations: 5.438 kB / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.8141, allocations: 6.891 kB / 0.9547 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.8141, allocations: 2.031 kB / 0.9547 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.8142, allocations: 95.23 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8142, allocations: 0 / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002415/0.8144, allocations: 31.28 kB / 0.9548 GB, free: 4.066 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.0001787/0.8146, allocations: 111.9 kB / 0.9549 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.8149, allocations: 241.4 kB / 0.9551 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.815, allocations: 0 / 0.9551 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.815, allocations: 31.92 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.8153, allocations: 16.36 kB / 0.9552 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.8156, allocations: 179.5 kB / 0.9553 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.8158, allocations: 0.6873 MB / 0.956 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.8158, allocations: 7.219 kB / 0.956 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.8158, allocations: 11.47 kB / 0.956 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8158, allocations: 0 / 0.956 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.004706/0.8205, allocations: 1.757 MB / 0.9577 GB, free: 1.98 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