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.001429/0.001429, 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.001669/0.001669, allocations: 195.3 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.62/2.62, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7151, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003048/0.7182, allocations: 1.759 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.72, allocations: 1.111 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.7201, allocations: 3.938 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.7204, allocations: 67.72 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.7207, allocations: 75.67 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.7213, allocations: 219.2 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.7215, allocations: 147.6 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.7216, allocations: 25.11 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/0.7217, allocations: 59.77 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.7218, allocations: 63.75 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.7219, allocations: 8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.722, allocations: 71.91 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.7221, allocations: 35.84 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.7222, allocations: 55.66 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.7224, allocations: 201.4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7225, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7225, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7225, allocations: 4 kB / 1.021 GB, free: 14.59 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.0006376/0.7231, allocations: 496.3 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.7232, allocations: 8.031 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.7232, allocations: 16.75 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.7235, allocations: 252.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.7235, allocations: 384 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.7235, allocations: 12.12 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.7237, allocations: 104.1 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7238, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.7238, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.7238, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.7239, allocations: 31.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.7244, allocations: 352.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.7247, allocations: 94.66 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.7247, allocations: 32.84 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.7248, allocations: 8.016 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.725, allocations: 83.36 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.725, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003511/0.7254, allocations: 137.5 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.7255, allocations: 102.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.7258, allocations: 266.9 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.7258, allocations: 29.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.7259, allocations: 120.1 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.7259, allocations: 23.73 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.726, allocations: 25.7 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7261, allocations: 334.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.7262, allocations: 31.92 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7264, allocations: 68.27 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.7265, allocations: 65.7 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7265, allocations: 3.938 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002258/0.7268, allocations: 117.8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7268, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7268, allocations: 80 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.7268, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.727, allocations: 15.94 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.727, allocations: 3.984 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.727, allocations: 15.83 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.7271, allocations: 4 kB / 1.024 GB, free: 11.5 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.0001502/0.7272, allocations: 144.8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.7273, allocations: 15.81 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.7273, allocations: 25.33 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.7273, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7273, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.7273, allocations: 3.938 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.7276, allocations: 225.5 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7276, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.7276, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7276, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.7277, allocations: 7.984 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7277, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7277, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.7279, allocations: 148.8 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.728, allocations: 96.92 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.7281, allocations: 4 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.7281, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.7282, allocations: 15.97 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.7282, allocations: 11.94 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001925/0.7284, allocations: 200.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7284, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002599/0.7287, allocations: 28 kB / 1.025 GB, free: 10.5 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.001198/0.7299, allocations: 414.9 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.7301, allocations: 79.89 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7302, allocations: 4.062 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.7303, allocations: 39.91 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.7306, allocations: 49.28 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.7312, allocations: 290.9 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.7316, allocations: 0.7201 MB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.7317, allocations: 33.36 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.7318, allocations: 19.42 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7318, allocations: 0 / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of Templates: time 0.006226/0.738, allocations: 2.516 MB / 1.029 GB, free: 6.473 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