Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.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.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_9_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_9_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.012/2.012, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001036/0.001036, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.406/1.406, allocations: 221.5 MB / 0.7824 GB, free: 1.047 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.0008309/0.0008309, allocations: 91.84 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.781e-05, allocations: 5.641 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8178/1.05, allocations: 153 MB / 1.355 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/1.05, allocations: 76.25 kB / 1.355 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01483/1.065, allocations: 5.508 MB / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/1.065, allocations: 0 / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.117e-05/1.065, allocations: 4 kB / 1.361 GB, free: 33.76 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004177/1.065, allocations: 460.2 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/1.065, allocations: 11.62 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/1.065, allocations: 21.16 kB / 1.361 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/1.066, allocations: 255.6 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/1.066, allocations: 3.844 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/1.066, allocations: 3.938 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.091e-05/1.066, allocations: 28.88 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/1.066, allocations: 83.55 kB / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/1.066, allocations: 1.688 kB / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/1.066, allocations: 3.844 kB / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/1.066, allocations: 4 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/1.066, allocations: 340.3 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/1.067, allocations: 68.77 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/1.067, allocations: 33.38 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/1.067, allocations: 4 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.912e-05/1.067, allocations: 85.23 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/1.067, allocations: 0 / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002217/1.067, allocations: 110.4 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/1.067, allocations: 80.95 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/1.067, allocations: 232.8 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.067, allocations: 25.7 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/1.067, allocations: 123.6 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.067, allocations: 19.22 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/1.067, allocations: 0 / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.067, allocations: 335.2 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/1.067, allocations: 26.14 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/1.068, allocations: 52.64 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/1.068, allocations: 52.45 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.068, allocations: 0 / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/1.068, allocations: 107.9 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.068, allocations: 5.562 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/1.068, allocations: 3.844 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.068, allocations: 0 / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/1.068, allocations: 14.03 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/1.068, allocations: 3.844 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/1.068, allocations: 3.844 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/1.068, allocations: 0 / 1.363 GB, free: 31.94 MB / 0.8386 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 7.605e-05/1.068, allocations: 125.6 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/1.068, allocations: 15.59 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/1.068, allocations: 120.4 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.068, allocations: 6.25 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.068, allocations: 0 / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.068, allocations: 0 / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/1.068, allocations: 209.8 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.068, allocations: 7.781 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/1.068, allocations: 7.875 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.068, allocations: 0 / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/1.069, allocations: 3.938 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.069, allocations: 0 / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.069, allocations: 3.969 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/1.069, allocations: 149 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/1.069, allocations: 99.2 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/1.069, allocations: 0 / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/1.069, allocations: 10.55 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/1.069, allocations: 7.469 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.069, allocations: 7.156 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000144/1.069, allocations: 182.3 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.069, allocations: 0 / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002363/1.069, allocations: 41.11 kB / 1.364 GB, free: 31.33 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: 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.0006935/1.07, allocations: 361.7 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001332/1.07, allocations: 80.42 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.07, allocations: 0 / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/1.07, allocations: 33.19 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/1.07, allocations: 37.92 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/1.071, allocations: 226.7 kB / 1.365 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.071, allocations: 0.7325 MB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.496e-05/1.071, allocations: 23.98 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/1.071, allocations: 18.27 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.071, allocations: 0 / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of Templates: time 0.004203/1.075, allocations: 2.126 MB / 1.368 GB, free: 30.07 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches