Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.2 MB / 0.572 GB, free: 10.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008443, allocations: 90.41 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.806e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7473/0.951, allocations: 131.4 MB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.9514, allocations: 74.81 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003028/0.9544, allocations: 0.9052 MB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9544, allocations: 0 / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9544, allocations: 0 / 1.021 GB, free: 2.48 MB / 0.6355 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.0004881/0.9549, allocations: 345.8 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.955, allocations: 12.03 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.9551, allocations: 7.891 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.9552, allocations: 182.9 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.9553, allocations: 4 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.9553, allocations: 11.36 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.9554, allocations: 44 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.9555, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.9555, allocations: 4 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9555, allocations: 0 / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.9556, allocations: 18.25 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.9563, allocations: 316 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.9564, allocations: 41 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.9565, allocations: 23.3 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.9565, allocations: 4 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.9567, allocations: 71.55 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.757e-06/0.9567, allocations: 0 / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002199/0.9569, allocations: 76.11 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.957, allocations: 54.78 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.9571, allocations: 115.6 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.9571, allocations: 25.7 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.9572, allocations: 95.5 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.9572, allocations: 11.41 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.9572, allocations: 0 / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9574, allocations: 317.1 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.9574, allocations: 11.44 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.9575, allocations: 37.69 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.9576, allocations: 23.48 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9576, allocations: 0 / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001643/0.9578, allocations: 72.78 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9578, allocations: 8 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9578, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9578, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.9579, allocations: 11.73 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.9579, allocations: 4 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.958, allocations: 16.05 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.9581, allocations: 11.2 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.655e-05/0.9582, allocations: 108.8 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.9582, allocations: 3.906 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.9582, allocations: 16.06 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9583, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9583, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9583, allocations: 3.938 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.9585, allocations: 180.8 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9585, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.9585, allocations: 3.875 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9585, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.9585, allocations: 4 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9585, allocations: 3.984 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9586, allocations: 192 / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.9588, allocations: 99.91 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.9588, allocations: 85.05 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.9589, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.959, allocations: 11.98 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.9591, allocations: 15.67 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.9591, allocations: 7.984 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.9592, allocations: 86.84 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9592, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003326/0.9595, allocations: 15.88 kB / 1.024 GB, free: 15.75 MB / 0.6511 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 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete 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.0001705/0.9597, allocations: 99.25 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.9598, allocations: 41.02 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9599, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.9599, allocations: 26.05 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.9602, allocations: 15.2 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.9605, allocations: 99.69 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.9608, allocations: 0.6887 MB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.9609, allocations: 11.84 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.9609, allocations: 15.38 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/0.9609, allocations: 0 / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.003724/0.9647, allocations: 0.7602 MB / 1.025 GB, free: 13.99 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches