Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 195 kB / 16.14 MB, free: 6.648 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.562 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.622/2.622, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 67.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6853, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003279/0.6886, allocations: 1.819 MB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.6904, allocations: 1.111 MB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.6906, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.691, allocations: 51.81 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.6912, allocations: 63.81 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.6918, allocations: 207.4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.6921, allocations: 135.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.6922, allocations: 17.12 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.6923, allocations: 59.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.6924, allocations: 59.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.6925, allocations: 3.984 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.6926, allocations: 63.89 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.6927, allocations: 43.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.6928, allocations: 47.67 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.6931, allocations: 197.5 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6931, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.6931, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6931, allocations: 0 / 1.02 GB, free: 15.05 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000695/0.6938, allocations: 496.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6939, allocations: 8.031 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.6939, allocations: 16.75 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.6942, allocations: 264.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.6943, allocations: 384 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.6943, allocations: 8.125 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.6945, allocations: 96.17 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6945, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6946, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.6946, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.6947, allocations: 31.97 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.6952, allocations: 352.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.6955, allocations: 90.66 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/0.6956, allocations: 32.84 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.6956, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.6959, allocations: 87.39 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.6959, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003966/0.6963, allocations: 137.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.6964, allocations: 102.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.6966, allocations: 262.9 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.6967, allocations: 29.7 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.6968, allocations: 124.1 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.6968, allocations: 19.75 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.6969, allocations: 29.69 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.697, allocations: 334.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.6971, allocations: 31.98 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.6972, allocations: 76.14 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.6974, allocations: 69.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6974, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002459/0.6976, allocations: 109.4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6977, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6977, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6977, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.6978, allocations: 19.98 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6978, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.6979, allocations: 15.88 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6979, allocations: 4 kB / 1.023 GB, free: 11.97 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001426/0.6981, allocations: 143.4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.6981, allocations: 19.8 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.6982, allocations: 17.41 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.6982, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6982, allocations: 4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6982, allocations: 7.922 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.6984, allocations: 229.5 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6984, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.6985, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6985, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6985, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6985, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6985, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.6988, allocations: 149.2 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.6989, allocations: 92.92 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.6989, allocations: 7.984 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.699, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.699, allocations: 12.02 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.6991, allocations: 15.92 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001874/0.6993, allocations: 192.6 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6993, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002715/0.6995, allocations: 35.98 kB / 1.024 GB, free: 10.96 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.001097/0.7006, allocations: 435 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.7009, allocations: 71.89 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7009, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.701, allocations: 31.98 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.7013, allocations: 39.61 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.7019, allocations: 320.7 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.7023, allocations: 0.7282 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.992e-05/0.7024, allocations: 25.38 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.7025, allocations: 19.44 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.7025, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.005835/0.7083, allocations: 2.437 MB / 1.028 GB, free: 6.992 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches