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.001289/0.001289, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001573/0.001573, allocations: 172.7 kB / 15.95 MB, free: 208 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.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.422 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.672/2.672, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 16 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8484, allocations: 142.4 MB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001039/0.8495, allocations: 425.4 kB / 0.9549 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.851, allocations: 1.239 MB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.851, allocations: 0 / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.8511, allocations: 5.469 kB / 0.9561 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.7e-05/0.8512, allocations: 17.2 kB / 0.9561 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.8521, allocations: 275.7 kB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.8524, allocations: 198.3 kB / 0.9565 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.8526, allocations: 18.92 kB / 0.9566 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.8528, allocations: 95.27 kB / 0.9566 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.8529, allocations: 63.38 kB / 0.9567 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.853, allocations: 15.16 kB / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.8531, allocations: 26.33 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.8531, allocations: 17.75 kB / 0.9568 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.8532, allocations: 49.2 kB / 0.9568 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.8534, allocations: 148.9 kB / 0.957 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8534, allocations: 0 / 0.957 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8534, allocations: 0 / 0.957 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.8535, allocations: 1.531 kB / 0.957 GB, free: 5.895 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.0004757/0.8539, allocations: 457.3 kB / 0.9574 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.854, allocations: 9.094 kB / 0.9574 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.8541, allocations: 18.14 kB / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.8542, allocations: 172.3 kB / 0.9576 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.8542, allocations: 5.5 kB / 0.9576 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.8542, allocations: 16.88 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.8544, allocations: 63.88 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8544, allocations: 4 kB / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8544, allocations: 3.984 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8544, allocations: 5.844 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.8545, allocations: 18.64 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.855, allocations: 411.6 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.8551, allocations: 31.33 kB / 0.9581 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.8551, allocations: 24.5 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.8551, allocations: 7.984 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.8554, allocations: 102.1 kB / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.8554, allocations: 0 / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002984/0.8557, allocations: 135.8 kB / 0.9584 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.8557, allocations: 57.06 kB / 0.9584 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.8558, allocations: 139.7 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.8559, allocations: 31.48 kB / 0.9586 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.8559, allocations: 110.5 kB / 0.9587 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.856, allocations: 15.59 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.856, allocations: 9.469 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.856, allocations: 320.9 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.8562, allocations: 86.14 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.8564, allocations: 139.9 kB / 0.9592 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.8566, allocations: 167.9 kB / 0.9594 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8566, allocations: 0 / 0.9594 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005356/0.8572, allocations: 382.7 kB / 0.9598 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.8572, allocations: 101.5 kB / 0.9599 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8572, allocations: 1.375 kB / 0.9599 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8573, allocations: 2.75 kB / 0.9599 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.516e-05/0.8573, allocations: 2.75 kB / 0.9599 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.8573, allocations: 2.75 kB / 0.9599 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.8578, allocations: 119.4 kB / 0.96 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.8579, allocations: 25.73 kB / 0.96 GB, free: 3.145 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.000105/0.858, allocations: 127.6 kB / 0.9601 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.858, allocations: 15.97 kB / 0.9601 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.858, allocations: 9.75 kB / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8581, allocations: 1.375 kB / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8581, allocations: 0 / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8581, allocations: 0 / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.8582, allocations: 190.1 kB / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8582, allocations: 5.375 kB / 0.9603 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.8582, allocations: 5.375 kB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8582, allocations: 0 / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.8582, allocations: 6.703 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8583, allocations: 0 / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8583, allocations: 0 / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.8584, allocations: 134.4 kB / 0.9605 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.8585, allocations: 83.77 kB / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.8585, allocations: 5.375 kB / 0.9606 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.8585, allocations: 9.328 kB / 0.9606 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.8586, allocations: 12.05 kB / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.8586, allocations: 16.11 kB / 0.9606 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.8586, allocations: 95.48 kB / 0.9607 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8587, allocations: 3.938 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000274/0.8589, allocations: 42.5 kB / 0.9607 GB, free: 2.453 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.0001513/0.8591, allocations: 109.5 kB / 0.9608 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.8596, allocations: 365.8 kB / 0.9612 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8596, allocations: 4.969 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.8597, allocations: 35.3 kB / 0.9612 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.8599, allocations: 22.12 kB / 0.9613 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.8603, allocations: 213.1 kB / 0.9615 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.8605, allocations: 0.6925 MB / 0.9621 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.8605, allocations: 13.59 kB / 0.9621 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.8605, allocations: 17.25 kB / 0.9622 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.8605, allocations: 0 / 0.9622 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.005504/0.866, allocations: 2.382 MB / 0.9645 GB, free: 15.91 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches