Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.232/2.232, allocations: 390.5 MB / 398 MB, free: 10.95 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.001394/0.001394, allocations: 172.8 kB / 491.2 MB, free: 1.594 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.821/1.821, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009223/0.0009222, allocations: 99.83 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.091e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3261, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.452, allocations: 149.5 MB / 1.358 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.452, allocations: 68.8 kB / 1.358 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01238/1.465, allocations: 4.048 MB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.465, allocations: 3.844 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.164e-05/1.465, allocations: 3.688 kB / 1.362 GB, free: 33.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005495/1.465, allocations: 452.5 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.465, allocations: 7.719 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/1.466, allocations: 15.38 kB / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.466, allocations: 181.3 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/1.466, allocations: 3.844 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/1.466, allocations: 13.52 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/1.466, allocations: 18.94 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/1.466, allocations: 54.02 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.466, allocations: 3.984 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/1.466, allocations: 1.734 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.466, allocations: 0 / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/1.467, allocations: 394.5 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.455e-05/1.467, allocations: 35.2 kB / 1.363 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/1.467, allocations: 14.8 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/1.467, allocations: 0 / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/1.467, allocations: 96.08 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/1.467, allocations: 3.344 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003126/1.468, allocations: 98.92 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.468, allocations: 56.41 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/1.468, allocations: 136.5 kB / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/1.468, allocations: 32.98 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/1.468, allocations: 96.22 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/1.468, allocations: 20.78 kB / 1.364 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/1.468, allocations: 6.25 kB / 1.364 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.468, allocations: 321.4 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/1.468, allocations: 73.45 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/1.469, allocations: 126 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/1.469, allocations: 95.59 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.469, allocations: 4 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009779/1.47, allocations: 282.3 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/1.47, allocations: 99.39 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.47, allocations: 4.672 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.47, allocations: 0 / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.031e-05/1.47, allocations: 10.59 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/1.47, allocations: 8.016 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/1.471, allocations: 113.4 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/1.471, allocations: 16.14 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001493/1.471, allocations: 118 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/1.471, allocations: 7.75 kB / 1.365 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/1.471, allocations: 14.02 kB / 1.365 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.471, allocations: 3.844 kB / 1.365 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.471, allocations: 3.938 kB / 1.365 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.471, allocations: 3.953 kB / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/1.472, allocations: 157.7 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.472, allocations: 4.625 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/1.472, allocations: 8.828 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.472, allocations: 0 / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.472, allocations: 5.016 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.472, allocations: 4 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.472, allocations: 4 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/1.472, allocations: 128.5 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/1.472, allocations: 81.02 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/1.472, allocations: 5.078 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/1.472, allocations: 1.922 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/1.472, allocations: 9.594 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/1.472, allocations: 4.984 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.591e-05/1.472, allocations: 100.3 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.472, allocations: 0 / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004221/1.473, allocations: 48.86 kB / 1.366 GB, free: 30.59 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete 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.0001921/1.473, allocations: 109.2 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005464/1.473, allocations: 343.1 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.473, allocations: 0 / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/1.473, allocations: 33.16 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/1.474, allocations: 33.98 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/1.474, allocations: 114.7 kB / 1.366 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/1.475, allocations: 0.6979 MB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.245e-05/1.475, allocations: 9.203 kB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/1.475, allocations: 21 kB / 1.367 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.475, allocations: 0 / 1.367 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.006471/1.481, allocations: 2.193 MB / 1.369 GB, free: 29.3 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches