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.001372/0.001372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001525/0.001524, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.566 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.696/2.696, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7042, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003923/0.7082, allocations: 1.824 MB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.7103, allocations: 1.096 MB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.7105, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.7108, allocations: 59.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.7111, allocations: 67.81 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.7118, allocations: 203.2 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.7121, allocations: 147.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.7122, allocations: 25.11 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.7124, allocations: 71.69 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.7125, allocations: 63.75 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.7125, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.7127, allocations: 59.97 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.7128, allocations: 51.77 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.7129, allocations: 59.61 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.7133, allocations: 197.4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7133, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7133, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.7133, allocations: 0 / 1.021 GB, free: 14.79 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.0007606/0.7141, allocations: 492.4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7141, allocations: 8.031 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.7142, allocations: 20.66 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.7145, allocations: 252.8 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7146, allocations: 384 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.7146, allocations: 8.125 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.7148, allocations: 104.2 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.7149, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.7149, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.7149, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.715, allocations: 27.98 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.7156, allocations: 352.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.7159, allocations: 98.53 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.716, allocations: 32.84 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.716, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.7163, allocations: 79.28 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.7163, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004037/0.7167, allocations: 145.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.7168, allocations: 102.8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.7171, allocations: 266.9 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.7171, allocations: 29.7 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.7172, allocations: 116.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.7173, allocations: 19.69 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.7173, allocations: 29.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7175, allocations: 330.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.7176, allocations: 27.98 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.7177, allocations: 72.2 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.7179, allocations: 65.7 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7179, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002623/0.7182, allocations: 125.4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7182, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7182, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.7182, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.7184, allocations: 12 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7184, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.7185, allocations: 19.83 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.7185, allocations: 4 kB / 1.023 GB, free: 11.71 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.0001584/0.7186, allocations: 143.8 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.7187, allocations: 15.81 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.7187, allocations: 25.39 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.7187, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7188, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7188, allocations: 3.938 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.719, allocations: 221.6 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.719, allocations: 3.984 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.7191, allocations: 4 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7191, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.7191, allocations: 15.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.7191, allocations: 192 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7191, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.7194, allocations: 148.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.7195, allocations: 88.92 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.7195, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.7196, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.7197, allocations: 15.92 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7197, allocations: 7.938 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002064/0.7199, allocations: 196.6 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.214e-06/0.7199, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000266/0.7202, allocations: 31.94 kB / 1.024 GB, free: 10.71 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.001587/0.7218, allocations: 415.8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.7221, allocations: 79.84 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7221, allocations: 4.062 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.7222, allocations: 35.97 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.7225, allocations: 51.66 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.7231, allocations: 318.9 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.7235, allocations: 0.7204 MB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.55e-05/0.7236, allocations: 29.06 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.7237, allocations: 23.42 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7237, allocations: 0 / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.006713/0.7304, allocations: 2.51 MB / 1.028 GB, free: 6.664 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=400 -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