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.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 175.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009177/0.0009178, allocations: 93.66 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 9.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2411, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4165, allocations: 131.5 MB / 1.028 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4168, allocations: 75.95 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00318/0.42, allocations: 1.161 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.42, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4201, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006/0.4207, allocations: 408.9 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4207, allocations: 12.03 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.4208, allocations: 7.906 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4209, allocations: 174.9 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.421, allocations: 7.984 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.421, allocations: 8 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4211, allocations: 57.67 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4211, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.4212, allocations: 8 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4212, allocations: 0 / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.4213, allocations: 35.86 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.4219, allocations: 348.8 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.422, allocations: 50.56 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.422, allocations: 0 / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.4222, allocations: 83.41 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.4223, allocations: 0 / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002532/0.4225, allocations: 113.5 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.4226, allocations: 63.36 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4227, allocations: 120.8 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4227, allocations: 33.7 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.4228, allocations: 84.14 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.4228, allocations: 23.95 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.4228, allocations: 0 / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.423, allocations: 322.8 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.423, allocations: 23.98 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.4231, allocations: 43.42 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.4231, allocations: 23.94 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4231, allocations: 4 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001378/0.4233, allocations: 97.84 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4233, allocations: 10.75 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4233, allocations: 7.875 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4234, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.4234, allocations: 11.98 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4234, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.4236, allocations: 35.94 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4236, allocations: 4 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.54e-05/0.4237, allocations: 125.8 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.4237, allocations: 11.91 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.4237, allocations: 12.38 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.4238, allocations: 4 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4238, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4238, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.424, allocations: 193.6 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.424, allocations: 0 / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.424, allocations: 4 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.424, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.424, allocations: 7.984 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.424, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.424, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.4242, allocations: 124.9 kB / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.4242, allocations: 81.11 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4243, allocations: 0 / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4244, allocations: 27.97 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.4244, allocations: 11.98 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.4245, allocations: 0 / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.4245, allocations: 99.7 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4245, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002147/0.4248, allocations: 24 kB / 1.033 GB, free: 7.812 MB / 0.6823 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * 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.0001614/0.4249, allocations: 103.2 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.4251, allocations: 67.95 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4251, allocations: 0 / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.4252, allocations: 35.92 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.4254, allocations: 32.39 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.4258, allocations: 207.5 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4261, allocations: 0.7004 MB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.4261, allocations: 4.562 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.4262, allocations: 11.44 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.4262, allocations: 0 / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.003324/0.4295, allocations: 1.038 MB / 1.035 GB, free: 5.566 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches