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.345/2.345, allocations: 387.1 MB / 399.7 MB, free: 9.418 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.001163/0.001163, allocations: 176.8 kB / 492.3 MB, free: 0.6289 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.563/1.563, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008538/0.0008537, allocations: 99.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.772e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2671, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9343/1.201, allocations: 153.6 MB / 1.362 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.202, allocations: 72.62 kB / 1.362 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01424/1.216, allocations: 5.551 MB / 1.368 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.216, allocations: 0 / 1.368 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.216, allocations: 7.906 kB / 1.368 GB, free: 34.35 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.0004842/1.217, allocations: 454.3 kB / 1.368 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.217, allocations: 11.62 kB / 1.368 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/1.217, allocations: 26.22 kB / 1.368 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/1.217, allocations: 249.9 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.217, allocations: 9.859 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.217, allocations: 3.906 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/1.217, allocations: 84.14 kB / 1.369 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.217, allocations: 3.984 kB / 1.369 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/1.217, allocations: 7 kB / 1.369 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/1.217, allocations: 0 / 1.369 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/1.217, allocations: 39.75 kB / 1.369 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/1.218, allocations: 368.5 kB / 1.369 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/1.218, allocations: 68.06 kB / 1.369 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/1.218, allocations: 32.83 kB / 1.369 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.218, allocations: 7.875 kB / 1.369 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/1.218, allocations: 80.19 kB / 1.369 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/1.218, allocations: 0 / 1.369 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002214/1.218, allocations: 119.5 kB / 1.369 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.219, allocations: 81.06 kB / 1.369 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/1.219, allocations: 244.1 kB / 1.37 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.219, allocations: 25.7 kB / 1.37 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/1.219, allocations: 122.6 kB / 1.37 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/1.219, allocations: 25.58 kB / 1.37 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.219, allocations: 0 / 1.37 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.219, allocations: 329.8 kB / 1.37 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/1.219, allocations: 27.88 kB / 1.37 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/1.219, allocations: 54.42 kB / 1.37 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/1.219, allocations: 43.84 kB / 1.37 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.219, allocations: 0 / 1.37 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001493/1.219, allocations: 118.7 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.219, allocations: 3.875 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.219, allocations: 0 / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.219, allocations: 7.781 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/1.219, allocations: 7.688 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.22, allocations: 0 / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/1.22, allocations: 11.17 kB / 1.37 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/1.22, allocations: 7.844 kB / 1.37 GB, free: 32.48 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.285e-05/1.22, allocations: 113.4 kB / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/1.22, allocations: 15.5 kB / 1.371 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/1.22, allocations: 123.8 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/1.22, allocations: 3.969 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.22, allocations: 0 / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.22, allocations: 2.906 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/1.22, allocations: 238 kB / 1.371 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.22, allocations: 0 / 1.371 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/1.22, allocations: 7.781 kB / 1.371 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.22, allocations: 3.938 kB / 1.371 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.22, allocations: 6.422 kB / 1.371 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/1.22, allocations: 3.844 kB / 1.371 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.22, allocations: 4 kB / 1.371 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/1.22, allocations: 148.9 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/1.22, allocations: 103.7 kB / 1.371 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/1.221, allocations: 3.062 kB / 1.371 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/1.221, allocations: 7.875 kB / 1.371 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/1.221, allocations: 7.109 kB / 1.371 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/1.221, allocations: 0 / 1.371 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001491/1.221, allocations: 195.6 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.221, allocations: 0 / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002387/1.221, allocations: 42.38 kB / 1.371 GB, free: 31.85 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.0008641/1.222, allocations: 395.7 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001623/1.222, allocations: 84.7 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.222, allocations: 0 / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/1.222, allocations: 36.67 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.222, allocations: 33.05 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/1.223, allocations: 231.8 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.223, allocations: 0.7374 MB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.612e-05/1.223, allocations: 23.88 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/1.223, allocations: 21.12 kB / 1.373 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of SimCode: time 1.563e-06/1.223, allocations: 0 / 1.373 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.004925/1.228, allocations: 2.28 MB / 1.375 GB, free: 30.59 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