Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001085, allocations: 99.86 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.0009709/0.000971, 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.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.522/2.522, allocations: 390.2 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0008504/0.0008507, allocations: 8 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.8596, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0007153/0.8604, allocations: 370 kB / 0.9539 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.8615, allocations: 1.134 MB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.8615, allocations: 1.188 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.8615, allocations: 0 / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.8616, allocations: 10.48 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.8621, allocations: 193.3 kB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.8623, allocations: 87.09 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.8624, allocations: 3.969 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.8624, allocations: 62.62 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.8625, allocations: 45.03 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.8626, allocations: 8.188 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.8626, allocations: 26.12 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.8627, allocations: 11.28 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.8627, allocations: 37.36 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.8628, allocations: 104 kB / 0.9556 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.8629, allocations: 0 / 0.9556 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8629, allocations: 3.938 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8629, allocations: 0 / 0.9556 GB, free: 6.539 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.0003297/0.8632, allocations: 408.4 kB / 0.9559 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.8632, allocations: 9.594 kB / 0.956 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.8633, allocations: 15.23 kB / 0.956 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.8634, allocations: 181.4 kB / 0.9561 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.8635, allocations: 4.906 kB / 0.9561 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.8635, allocations: 16.34 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8636, allocations: 43.59 kB / 0.9562 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.8636, allocations: 0 / 0.9562 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8637, allocations: 3.984 kB / 0.9562 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8637, allocations: 1 kB / 0.9562 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.8637, allocations: 15.08 kB / 0.9562 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.8642, allocations: 359.9 kB / 0.9566 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.8643, allocations: 31.88 kB / 0.9566 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.8643, allocations: 1.438 kB / 0.9566 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.8645, allocations: 79.69 kB / 0.9567 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.8645, allocations: 3.938 kB / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002546/0.8648, allocations: 107.4 kB / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.8648, allocations: 60.69 kB / 0.9568 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.8649, allocations: 119 kB / 0.9569 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.8649, allocations: 29.08 kB / 0.957 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.865, allocations: 93.64 kB / 0.9571 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.865, allocations: 6.094 kB / 0.9571 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.865, allocations: 7.5 kB / 0.9571 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.8651, allocations: 321 kB / 0.9574 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.8653, allocations: 54.41 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.8654, allocations: 103.1 kB / 0.9575 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.8656, allocations: 109.9 kB / 0.9576 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8656, allocations: 1.125 kB / 0.9576 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004219/0.866, allocations: 266 kB / 0.9579 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.866, allocations: 68.17 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8661, allocations: 1.406 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8661, allocations: 5.453 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.322e-05/0.8661, allocations: 3.406 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.8661, allocations: 4.875 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.8665, allocations: 89.39 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.8666, allocations: 8.281 kB / 0.9581 GB, free: 4.156 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.8667, allocations: 126.6 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.8667, allocations: 4 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.8667, allocations: 12.06 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8667, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8667, allocations: 7.891 kB / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8667, allocations: 0 / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.99e-05/0.8668, allocations: 178.9 kB / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8669, allocations: 0 / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.8669, allocations: 0 / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8669, allocations: 0 / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.8669, allocations: 1.75 kB / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8669, allocations: 0 / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8669, allocations: 6 kB / 0.9584 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.867, allocations: 114.4 kB / 0.9585 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.867, allocations: 82.7 kB / 0.9586 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.8671, allocations: 1.469 kB / 0.9586 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.8671, allocations: 7.984 kB / 0.9586 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.8671, allocations: 3.094 kB / 0.9586 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.8671, allocations: 3.094 kB / 0.9586 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.8672, allocations: 102.5 kB / 0.9587 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8672, allocations: 0 / 0.9587 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002296/0.8674, allocations: 30.75 kB / 0.9587 GB, free: 3.5 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,and1.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 (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.0001313/0.8676, allocations: 102.6 kB / 0.9588 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.8678, allocations: 248 kB / 0.9591 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8678, allocations: 1.812 kB / 0.9591 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.8679, allocations: 22.67 kB / 0.9591 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.8681, allocations: 25.11 kB / 0.9591 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.8683, allocations: 169.3 kB / 0.9593 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.8685, allocations: 0.6903 MB / 0.9599 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.8685, allocations: 11.91 kB / 0.9599 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.8685, allocations: 11.56 kB / 0.96 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8685, allocations: 0 / 0.96 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.003876/0.8724, allocations: 1.685 MB / 0.9616 GB, free: 1.453 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches