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.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.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.001564/0.001564, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.417/2.417, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 0.8125 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8299, allocations: 140.4 MB / 0.9496 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002243/0.8322, allocations: 0.653 MB / 0.9502 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.8338, allocations: 1.189 MB / 0.9514 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.8339, allocations: 5.188 kB / 0.9514 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.8339, allocations: 7.922 kB / 0.9514 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.834, allocations: 5.219 kB / 0.9514 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.8347, allocations: 214.6 kB / 0.9516 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.8349, allocations: 181.1 kB / 0.9518 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.8351, allocations: 21.09 kB / 0.9518 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8352, allocations: 63.84 kB / 0.9519 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.8353, allocations: 56.86 kB / 0.9519 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.8353, allocations: 15.16 kB / 0.9519 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.8354, allocations: 29.64 kB / 0.952 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.8354, allocations: 7.859 kB / 0.952 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.8355, allocations: 57.33 kB / 0.952 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.8357, allocations: 143.4 kB / 0.9522 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8357, allocations: 3.938 kB / 0.9522 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8357, allocations: 0 / 0.9522 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8357, allocations: 4 kB / 0.9522 GB, free: 7.426 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.0004854/0.8362, allocations: 439.4 kB / 0.9526 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8363, allocations: 9.656 kB / 0.9526 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.8364, allocations: 7.906 kB / 0.9526 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.405e-05/0.8365, allocations: 175.1 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.8365, allocations: 4.5 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.8365, allocations: 9.594 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.8367, allocations: 56.17 kB / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.8367, allocations: 192 / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.8367, allocations: 7.938 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.8367, allocations: 1.406 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.8368, allocations: 10.75 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.8372, allocations: 347.4 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.8373, allocations: 48.28 kB / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.8373, allocations: 15.45 kB / 0.9533 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.8373, allocations: 4 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.8375, allocations: 83.95 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.8375, allocations: 0 / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002268/0.8377, allocations: 100.2 kB / 0.9534 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.8378, allocations: 52.78 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.8379, allocations: 119.2 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.8379, allocations: 28.8 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.838, allocations: 101.4 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.838, allocations: 14 kB / 0.9537 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.8381, allocations: 49.12 kB / 0.9538 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.8381, allocations: 324.3 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.8383, allocations: 55.09 kB / 0.9542 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.8384, allocations: 96.56 kB / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.8386, allocations: 164.6 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8386, allocations: 0 / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003924/0.839, allocations: 262.8 kB / 0.9547 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.839, allocations: 72.73 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8391, allocations: 1.062 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8391, allocations: 2 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.8391, allocations: 2.25 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8391, allocations: 1.938 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.8395, allocations: 55.36 kB / 0.9548 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.8395, allocations: 9.219 kB / 0.9548 GB, free: 4.957 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,and1.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 7.601e-05/0.8396, allocations: 138 kB / 0.9549 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.8396, allocations: 7.594 kB / 0.9549 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.8397, allocations: 5.562 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8397, allocations: 0 / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8397, allocations: 1.156 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8397, allocations: 0 / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.8398, allocations: 189.2 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8398, allocations: 0 / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-06/0.8398, allocations: 1.125 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8398, allocations: 5.125 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.8398, allocations: 5.125 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.8398, allocations: 1.062 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8398, allocations: 0 / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.84, allocations: 111.6 kB / 0.9552 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.84, allocations: 87.34 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.84, allocations: 5.672 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.84, allocations: 0 / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.8401, allocations: 15.12 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.8401, allocations: 2.188 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.8401, allocations: 91.48 kB / 0.9554 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8401, allocations: 0 / 0.9554 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002391/0.8404, allocations: 27.75 kB / 0.9555 GB, free: 4.289 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 (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.0001238/0.8405, allocations: 112.7 kB / 0.9556 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003054/0.8408, allocations: 245.5 kB / 0.9558 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8408, allocations: 4.062 kB / 0.9558 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.8409, allocations: 32.73 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.8411, allocations: 16.27 kB / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.8414, allocations: 164.3 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.8415, allocations: 0.6915 MB / 0.9567 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.8415, allocations: 8.156 kB / 0.9567 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.8416, allocations: 15.83 kB / 0.9567 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8416, allocations: 0 / 0.9567 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.004495/0.8461, allocations: 1.844 MB / 0.9585 GB, free: 2.156 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches