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.001363/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001456/0.001456, allocations: 199.2 kB / 16.14 MB, free: 6.711 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.813/2.813, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6209/0.6229, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003809/0.6268, allocations: 1.824 MB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.629, allocations: 1.1 MB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.6291, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.6296, allocations: 55.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.6299, allocations: 75.69 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.6307, allocations: 203.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.631, allocations: 139.6 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.6311, allocations: 17.12 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.6313, allocations: 51.78 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.6314, allocations: 67.73 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.6315, allocations: 7.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.6317, allocations: 59.89 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.6318, allocations: 31.91 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.6319, allocations: 51.61 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.6322, allocations: 197.4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6322, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6322, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6322, allocations: 0 / 1.02 GB, free: 14.87 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.0008248/0.6331, allocations: 498.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6331, allocations: 8.031 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.6332, allocations: 20.66 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.6335, allocations: 244.9 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6336, allocations: 8.375 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.6336, allocations: 8.109 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.6338, allocations: 96.17 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.6338, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.6339, allocations: 8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6339, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.634, allocations: 39.91 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.6346, allocations: 348.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.6348, allocations: 82.67 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.6349, allocations: 36.88 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.635, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.6352, allocations: 83.28 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 3.928e-06/0.6353, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003901/0.6357, allocations: 141.5 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.6357, allocations: 110.8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.636, allocations: 270.8 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.6361, allocations: 25.7 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6362, allocations: 124 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.6362, allocations: 19.75 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.6363, allocations: 29.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6365, allocations: 326.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.6366, allocations: 31.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.6367, allocations: 68.27 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.6369, allocations: 73.62 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6369, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002341/0.6371, allocations: 109.5 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6372, allocations: 9.75 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6372, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6372, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6373, allocations: 15.92 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6373, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.6374, allocations: 11.84 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.6374, allocations: 8 kB / 1.023 GB, free: 11.79 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.0001515/0.6376, allocations: 147.8 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.6376, allocations: 11.81 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.6377, allocations: 21.41 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.6377, allocations: 8 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.6377, allocations: 0 / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6377, allocations: 7.922 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.6379, allocations: 221.5 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6379, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.638, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.638, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.638, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.638, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.638, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.6383, allocations: 148.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.6384, allocations: 92.91 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.6384, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.6385, allocations: 7.938 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.6385, allocations: 7.984 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6385, allocations: 7.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001966/0.6387, allocations: 200.6 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6387, allocations: 192 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002537/0.639, allocations: 32 kB / 1.024 GB, free: 10.79 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.00154/0.6406, allocations: 430.1 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.6408, allocations: 71.89 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6408, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.6409, allocations: 31.98 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.6412, allocations: 43.98 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.6418, allocations: 324.6 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6422, allocations: 0.732 MB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.223e-05/0.6423, allocations: 25.06 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.6423, allocations: 19.38 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6423, allocations: 4 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of Templates: time 0.006186/0.6485, allocations: 2.438 MB / 1.028 GB, free: 6.805 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