Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.588/1.588, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.000949/0.0009492, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.688e-05, allocations: 8 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2463, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8894/1.136, allocations: 135.6 MB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.136, allocations: 80.14 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01507/1.151, allocations: 5.423 MB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.151, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.788e-05/1.151, allocations: 4 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006745/1.152, allocations: 462.2 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.152, allocations: 12.03 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/1.152, allocations: 15.81 kB / 1.03 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/1.153, allocations: 253.9 kB / 1.03 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/1.153, allocations: 7.609 kB / 1.03 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/1.153, allocations: 4 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.153, allocations: 81.95 kB / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.153, allocations: 0 / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.153, allocations: 4 kB / 1.03 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/1.153, allocations: 4 kB / 1.03 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/1.153, allocations: 38.23 kB / 1.03 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/1.154, allocations: 359.4 kB / 1.031 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/1.154, allocations: 71.81 kB / 1.031 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/1.154, allocations: 39.91 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/1.154, allocations: 0 / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/1.154, allocations: 81.86 kB / 1.031 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/1.154, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003615/1.154, allocations: 119.4 kB / 1.031 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/1.155, allocations: 96.23 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/1.155, allocations: 237 kB / 1.031 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/1.155, allocations: 29.7 kB / 1.031 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.155, allocations: 117.9 kB / 1.032 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/1.155, allocations: 19.59 kB / 1.032 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/1.155, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.155, allocations: 329.8 kB / 1.032 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/1.155, allocations: 25.81 kB / 1.032 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.202e-05/1.155, allocations: 58.23 kB / 1.032 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/1.155, allocations: 39.27 kB / 1.032 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.155, allocations: 0 / 1.032 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001803/1.156, allocations: 111.2 kB / 1.032 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.156, allocations: 8 kB / 1.032 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.156, allocations: 0 / 1.032 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.156, allocations: 0 / 1.032 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/1.156, allocations: 8 kB / 1.032 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.156, allocations: 4 kB / 1.032 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/1.156, allocations: 19.78 kB / 1.032 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/1.156, allocations: 8.031 kB / 1.032 GB, free: 7.934 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001162/1.156, allocations: 116.8 kB / 1.032 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/1.156, allocations: 15.81 kB / 1.032 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/1.156, allocations: 123.1 kB / 1.032 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.156, allocations: 7.984 kB / 1.032 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.156, allocations: 4.094 kB / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.156, allocations: 3.938 kB / 1.032 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/1.157, allocations: 232.8 kB / 1.033 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.157, allocations: 4 kB / 1.033 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/1.157, allocations: 4 kB / 1.033 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.157, allocations: 0 / 1.033 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/1.157, allocations: 4 kB / 1.033 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.157, allocations: 3.984 kB / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.157, allocations: 0 / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/1.157, allocations: 149.6 kB / 1.033 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/1.157, allocations: 103.7 kB / 1.033 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/1.157, allocations: 11.98 kB / 1.033 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/1.157, allocations: 4 kB / 1.033 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/1.157, allocations: 7.547 kB / 1.033 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/1.157, allocations: 4 kB / 1.033 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002234/1.157, allocations: 190.7 kB / 1.033 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/1.158, allocations: 3.938 kB / 1.033 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002783/1.158, allocations: 46 kB / 1.033 GB, free: 6.941 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.001019/1.159, allocations: 396.1 kB / 1.034 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001885/1.159, allocations: 71.61 kB / 1.034 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.159, allocations: 0 / 1.034 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/1.159, allocations: 49.92 kB / 1.034 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/1.159, allocations: 33.84 kB / 1.034 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/1.16, allocations: 222.5 kB / 1.034 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.16, allocations: 0.7396 MB / 1.035 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.132e-05/1.16, allocations: 21.5 kB / 1.035 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/1.16, allocations: 19.44 kB / 1.035 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.16, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of Templates: time 0.006163/1.167, allocations: 2.279 MB / 1.037 GB, free: 3.266 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches