Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437 MB / 0.7103 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7681, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00339/0.7715, allocations: 1.779 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.7733, allocations: 1.03 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.7735, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.7742, allocations: 159.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.7746, allocations: 111.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.7751, allocations: 188.4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.7754, allocations: 163.6 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.7755, allocations: 25.09 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.7757, allocations: 63.77 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.7758, allocations: 67.75 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.7758, allocations: 8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.776, allocations: 67.89 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.7761, allocations: 43.84 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.7762, allocations: 59.61 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.7765, allocations: 201.3 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7765, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7766, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.7766, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 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.0008345/0.7774, allocations: 494 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7775, allocations: 12.02 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.7775, allocations: 24.66 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.7779, allocations: 241 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.7779, allocations: 384 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.7779, allocations: 12.12 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.7781, allocations: 95.19 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.7782, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.7782, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.7782, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.7783, allocations: 35.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.7789, allocations: 364.5 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.7791, allocations: 70.67 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.7792, allocations: 32.84 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.7792, allocations: 7.984 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.7794, allocations: 87.31 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.7794, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003591/0.7798, allocations: 137.5 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.7798, allocations: 85.05 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.7801, allocations: 255 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7801, allocations: 29.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.7802, allocations: 120 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.7803, allocations: 27.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.7803, allocations: 25.72 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7804, allocations: 330.8 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.7805, allocations: 27.98 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.7806, allocations: 55.42 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.7807, allocations: 85.97 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7807, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002124/0.781, allocations: 113.5 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.781, allocations: 11.94 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.781, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.781, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.7811, allocations: 11.98 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7811, allocations: 4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.7812, allocations: 19.81 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.7812, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.7814, allocations: 137.8 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.7814, allocations: 15.81 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.7814, allocations: 21.39 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.7815, allocations: 4 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.7815, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7815, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.7817, allocations: 221.6 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7817, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.7817, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7817, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.7817, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7817, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7818, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.782, allocations: 152.8 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.7821, allocations: 104.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.7821, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.7822, allocations: 8 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.7822, allocations: 3.984 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.7822, allocations: 7.938 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001857/0.7824, allocations: 200.3 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7824, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002527/0.7827, allocations: 32 kB / 1.025 GB, free: 10.46 MB / 0.7794 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.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009873/0.7837, allocations: 422.1 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.7839, allocations: 83.89 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7839, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.784, allocations: 35.92 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.7843, allocations: 39.55 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.7849, allocations: 307.1 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.7852, allocations: 0.7201 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.7853, allocations: 25.72 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.7853, allocations: 19.42 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7853, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of Templates: time 0.005914/0.7912, allocations: 2.28 MB / 1.029 GB, free: 6.668 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches