Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.235/2.235, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 176.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.5 MB / 0.7868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.55 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.305e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3475, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.447, allocations: 149.4 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.447, allocations: 72.86 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008755/1.456, allocations: 2.911 MB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.285e-06/1.456, allocations: 7.844 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.456, allocations: 0 / 1.361 GB, free: 33.14 MB / 0.8386 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.0004696/1.456, allocations: 403.2 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.456, allocations: 7.562 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/1.456, allocations: 13.14 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.456, allocations: 174 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.457, allocations: 0 / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/1.457, allocations: 12.81 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.08e-05/1.457, allocations: 11.59 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.038e-05/1.457, allocations: 44.75 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.457, allocations: 4 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/1.457, allocations: 1.594 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.457, allocations: 0 / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/1.457, allocations: 331 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/1.457, allocations: 28.89 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/1.457, allocations: 18.25 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/1.457, allocations: 4 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/1.457, allocations: 77.11 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.457, allocations: 0 / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001843/1.458, allocations: 76.59 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/1.458, allocations: 58.08 kB / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/1.458, allocations: 114.3 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/1.458, allocations: 29.58 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/1.458, allocations: 97.64 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/1.458, allocations: 11.62 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/1.458, allocations: 3.906 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.458, allocations: 324.2 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/1.458, allocations: 49.36 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/1.458, allocations: 84.98 kB / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1.459, allocations: 68.88 kB / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.459, allocations: 0 / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000422/1.459, allocations: 201.2 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/1.459, allocations: 70.16 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.459, allocations: 5.312 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.459, allocations: 0 / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.238e-05/1.459, allocations: 10.86 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.459, allocations: 0 / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.459, allocations: 68.94 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/1.459, allocations: 21.2 kB / 1.363 GB, free: 31.35 MB / 0.8386 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 () * 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 8.622e-05/1.46, allocations: 114.1 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/1.46, allocations: 7.781 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/1.46, allocations: 12.92 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/1.46, allocations: 4 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.46, allocations: 0 / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.46, allocations: 0 / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.159e-05/1.46, allocations: 152.5 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.46, allocations: 5.172 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-06/1.46, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.46, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.46, allocations: 5.734 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.46, allocations: 4.312 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.46, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/1.46, allocations: 106.3 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/1.46, allocations: 82.59 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.46, allocations: 3.844 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.856e-05/1.46, allocations: 5.859 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/1.46, allocations: 5.859 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/1.46, allocations: 7.812 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.519e-05/1.46, allocations: 90.02 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.46, allocations: 0 / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002231/1.46, allocations: 30.97 kB / 1.364 GB, free: 30.8 MB / 0.8386 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 () * 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.0001708/1.461, allocations: 113.3 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002398/1.461, allocations: 227.3 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.461, allocations: 3.188 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/1.461, allocations: 23.75 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/1.461, allocations: 20.86 kB / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/1.461, allocations: 98.16 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/1.462, allocations: 0.6873 MB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.621e-05/1.462, allocations: 13.11 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/1.462, allocations: 15.12 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.462, allocations: 0 / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of Templates: time 0.003682/1.465, allocations: 1.544 MB / 1.367 GB, free: 29.65 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches