Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009466/0.0009466, allocations: 177.3 kB / 15.94 MB, free: 228 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.473/2.473, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8983, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0009839/0.8993, allocations: 419.8 kB / 0.9539 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.9009, allocations: 1.195 MB / 0.9551 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.901, allocations: 5.156 kB / 0.9551 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.901, allocations: 0 / 0.9551 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.9011, allocations: 23.27 kB / 0.9551 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.902, allocations: 272.5 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.9022, allocations: 124.8 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.9023, allocations: 14.67 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.9025, allocations: 89.33 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.9026, allocations: 70.95 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.9027, allocations: 12.25 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.9028, allocations: 29.64 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.9028, allocations: 9.672 kB / 0.9557 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.9029, allocations: 49.83 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.9031, allocations: 152.7 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.9031, allocations: 4 kB / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9031, allocations: 0 / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.9031, allocations: 0 / 0.9559 GB, free: 6.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004903/0.9036, allocations: 457.1 kB / 0.9563 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.9037, allocations: 8.156 kB / 0.9563 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.9038, allocations: 22.88 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.9039, allocations: 169 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.9039, allocations: 10.47 kB / 0.9565 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.9039, allocations: 12.69 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.9041, allocations: 62.83 kB / 0.9566 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.9041, allocations: 0 / 0.9566 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.9041, allocations: 5.141 kB / 0.9566 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.9041, allocations: 1.344 kB / 0.9566 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.9042, allocations: 17.89 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.9048, allocations: 416 kB / 0.957 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.9049, allocations: 47.02 kB / 0.9571 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.9049, allocations: 0.7812 kB / 0.9571 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.9051, allocations: 96.84 kB / 0.9572 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.9051, allocations: 0 / 0.9572 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003217/0.9054, allocations: 136.5 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.9054, allocations: 60.7 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9055, allocations: 140 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.9056, allocations: 35.73 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.9057, allocations: 99.14 kB / 0.9576 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.9057, allocations: 18.92 kB / 0.9576 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.9057, allocations: 12.84 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.9058, allocations: 317 kB / 0.958 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.906, allocations: 93.88 kB / 0.958 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.9062, allocations: 136.5 kB / 0.9582 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.9064, allocations: 166.1 kB / 0.9583 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9064, allocations: 0 / 0.9583 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005797/0.907, allocations: 375.8 kB / 0.9587 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.9071, allocations: 104.7 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9071, allocations: 1.188 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.9071, allocations: 2.812 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.055e-05/0.9071, allocations: 3.719 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.9072, allocations: 2.562 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.9078, allocations: 123.1 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.9079, allocations: 17.95 kB / 0.9589 GB, free: 3.523 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001206/0.908, allocations: 129.5 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.908, allocations: 7.688 kB / 0.9591 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.9081, allocations: 14.89 kB / 0.9591 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9081, allocations: 1.031 kB / 0.9591 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9081, allocations: 0 / 0.9591 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.9081, allocations: 3.984 kB / 0.9591 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.9083, allocations: 190.8 kB / 0.9593 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.9083, allocations: 0 / 0.9593 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.9083, allocations: 5.156 kB / 0.9593 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9083, allocations: 5.219 kB / 0.9593 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.9083, allocations: 5.109 kB / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9083, allocations: 5.047 kB / 0.9593 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9083, allocations: 0 / 0.9593 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.9085, allocations: 132.2 kB / 0.9594 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.9085, allocations: 90.81 kB / 0.9595 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.9086, allocations: 2.031 kB / 0.9595 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.9086, allocations: 4 kB / 0.9595 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.9087, allocations: 15.84 kB / 0.9595 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.9087, allocations: 7.812 kB / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.9087, allocations: 96.39 kB / 0.9596 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9087, allocations: 96 / 0.9596 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002699/0.909, allocations: 50.2 kB / 0.9597 GB, free: 2.828 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002095/0.9092, allocations: 109.5 kB / 0.9598 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.9097, allocations: 369.7 kB / 0.9601 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9097, allocations: 0 / 0.9601 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.9097, allocations: 35.36 kB / 0.9602 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.91, allocations: 19.36 kB / 0.9602 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.9104, allocations: 208.9 kB / 0.9604 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.9105, allocations: 0.6984 MB / 0.9611 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.9106, allocations: 13.92 kB / 0.9611 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.9106, allocations: 12.94 kB / 0.9611 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.9106, allocations: 0 / 0.9611 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.005807/0.9164, allocations: 2.383 MB / 0.9634 GB, free: 308 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches