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.388/2.388, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001023/0.001023, allocations: 173 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0008734/0.0008733, allocations: 103.9 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.318e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3409, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.46, allocations: 150.1 MB / 1.365 GB, free: 3.887 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.46, allocations: 67.72 kB / 1.365 GB, free: 3.852 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008717/1.469, allocations: 2.925 MB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.856e-06/1.469, allocations: 4 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.039e-05/1.469, allocations: 0 / 1.368 GB, free: 1.305 MB / 0.823 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.0005239/1.469, allocations: 408.2 kB / 1.369 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/1.469, allocations: 8.031 kB / 1.369 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/1.469, allocations: 11.91 kB / 1.369 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/1.47, allocations: 175 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/1.47, allocations: 8 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/1.47, allocations: 15.92 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/1.47, allocations: 45.5 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.47, allocations: 0 / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.47, allocations: 4 kB / 1.369 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.47, allocations: 0 / 1.369 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/1.47, allocations: 14.75 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/1.471, allocations: 357 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/1.471, allocations: 32.52 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/1.471, allocations: 16.23 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/1.471, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/1.471, allocations: 75.34 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.471, allocations: 0 / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002596/1.471, allocations: 97.12 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.471, allocations: 59.3 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.471, allocations: 111.2 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/1.471, allocations: 32.45 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/1.471, allocations: 86.89 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/1.471, allocations: 14.5 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/1.471, allocations: 6.375 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.472, allocations: 317.6 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.472, allocations: 57.73 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/1.472, allocations: 95.16 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/1.472, allocations: 107.5 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.472, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004094/1.473, allocations: 261.1 kB / 1.371 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/1.473, allocations: 72.08 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.473, allocations: 0 / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.473, allocations: 7.984 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/1.473, allocations: 3.938 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.473, allocations: 4 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/1.473, allocations: 79.39 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/1.473, allocations: 15.98 kB / 1.371 GB, free: 14.69 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 9.307e-05/1.473, allocations: 107.9 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/1.473, allocations: 15.22 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/1.473, allocations: 4.625 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.473, allocations: 4 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.473, allocations: 3.938 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.473, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/1.473, allocations: 183.8 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.473, allocations: 0 / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/1.473, allocations: 0 / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.473, allocations: 0 / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/1.473, allocations: 4 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.473, allocations: 4 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.473, allocations: 3.984 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/1.474, allocations: 111.1 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/1.474, allocations: 81.02 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/1.474, allocations: 7.984 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/1.474, allocations: 3.688 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/1.474, allocations: 0 / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/1.474, allocations: 7.984 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.199e-05/1.474, allocations: 98.03 kB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.474, allocations: 0 / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002398/1.474, allocations: 35 kB / 1.371 GB, free: 13.97 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.0002122/1.474, allocations: 115.8 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003591/1.475, allocations: 246.6 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.475, allocations: 0 / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/1.475, allocations: 22.62 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/1.475, allocations: 20.62 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/1.475, allocations: 100.3 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.476, allocations: 0.6926 MB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.033e-05/1.476, allocations: 7.781 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/1.476, allocations: 11.42 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.476, allocations: 8 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of Templates: time 0.004151/1.48, allocations: 1.667 MB / 1.374 GB, free: 11.1 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