Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009796/0.0009797, allocations: 179.7 kB / 487.4 MB, free: 5.059 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.648/1.648, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 98.25 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.791e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8937/1.185, allocations: 148.6 MB / 1.351 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/1.186, allocations: 68.19 kB / 1.351 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008438/1.194, allocations: 2.908 MB / 1.354 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.352e-06/1.194, allocations: 0 / 1.354 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.982e-06/1.194, allocations: 0 / 1.354 GB, free: 34.07 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.0003132/1.195, allocations: 409.3 kB / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.195, allocations: 12.19 kB / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/1.195, allocations: 8.703 kB / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.281e-05/1.195, allocations: 171.5 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.195, allocations: 3.844 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/1.195, allocations: 8.438 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.931e-05/1.195, allocations: 19.58 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.191e-05/1.195, allocations: 44.73 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/1.195, allocations: 0 / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/1.195, allocations: 0.6094 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/1.195, allocations: 0 / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/1.195, allocations: 333 kB / 1.355 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.394e-05/1.195, allocations: 33.69 kB / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/1.195, allocations: 17.12 kB / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/1.195, allocations: 0.5156 kB / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/1.196, allocations: 74.14 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/1.196, allocations: 4 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001665/1.196, allocations: 84.12 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/1.196, allocations: 51.41 kB / 1.355 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/1.196, allocations: 119.4 kB / 1.355 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.196, allocations: 30.16 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/1.196, allocations: 88.28 kB / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/1.196, allocations: 16.53 kB / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/1.196, allocations: 3.844 kB / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/1.196, allocations: 320.3 kB / 1.356 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/1.196, allocations: 54.27 kB / 1.356 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/1.196, allocations: 84.22 kB / 1.356 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/1.197, allocations: 64.12 kB / 1.356 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.197, allocations: 4 kB / 1.356 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004314/1.197, allocations: 199 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/1.197, allocations: 73.52 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.197, allocations: 0.6562 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.197, allocations: 3.75 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.8e-05/1.197, allocations: 0.7031 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.197, allocations: 8.562 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/1.197, allocations: 70.42 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/1.197, allocations: 10.55 kB / 1.356 GB, free: 32.29 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 7.629e-05/1.198, allocations: 120.5 kB / 1.356 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/1.198, allocations: 4.562 kB / 1.356 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/1.198, allocations: 9.203 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.198, allocations: 0 / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/1.198, allocations: 3.938 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.198, allocations: 2.328 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.701e-05/1.198, allocations: 160.8 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.198, allocations: 0.75 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-06/1.198, allocations: 4 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.198, allocations: 0.7969 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/1.198, allocations: 4.453 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/1.198, allocations: 480 / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.198, allocations: 0 / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/1.198, allocations: 101 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/1.198, allocations: 89.81 kB / 1.357 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/1.198, allocations: 0.6094 kB / 1.357 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/1.198, allocations: 9.328 kB / 1.357 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/1.198, allocations: 10.25 kB / 1.357 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/1.198, allocations: 4.5 kB / 1.357 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.785e-05/1.198, allocations: 84.05 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.198, allocations: 0 / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002162/1.198, allocations: 36.2 kB / 1.357 GB, free: 31.74 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.000129/1.198, allocations: 105.4 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002267/1.199, allocations: 235.1 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1.199, allocations: 4.062 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/1.199, allocations: 25.94 kB / 1.357 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/1.199, allocations: 8.703 kB / 1.357 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/1.199, allocations: 98.38 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/1.199, allocations: 0.6886 MB / 1.358 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.347e-05/1.199, allocations: 12.31 kB / 1.358 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/1.199, allocations: 11.98 kB / 1.358 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.199, allocations: 0 / 1.358 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.00329/1.203, allocations: 1.544 MB / 1.36 GB, free: 30.59 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches