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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001105/0.001105, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001308/0.001309, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004544, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7735, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002216/0.7758, allocations: 1.466 MB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.7775, allocations: 1.007 MB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.7776, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.778, allocations: 55.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.7782, allocations: 59.8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.7789, allocations: 191.4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.7791, allocations: 119.6 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.7792, allocations: 25.03 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.7793, allocations: 47.78 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.7794, allocations: 55.75 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.7794, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.7796, allocations: 63.89 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.7797, allocations: 31.91 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.7797, allocations: 49.58 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.7799, allocations: 141.7 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.78, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.308e-06/0.78, allocations: 3.984 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.78, allocations: 0 / 1.026 GB, free: 12.73 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.0006728/0.7807, allocations: 468.3 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.7807, allocations: 12.03 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.7808, allocations: 15.81 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.7811, allocations: 247.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.7811, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.7811, allocations: 8 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.7814, allocations: 96.12 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7814, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.7814, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.7814, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.7816, allocations: 35.97 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.7821, allocations: 360.6 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.7823, allocations: 82.66 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.7824, allocations: 36.84 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.7825, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.7827, allocations: 83.41 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.7827, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003609/0.7831, allocations: 145.4 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.7831, allocations: 102.8 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.7834, allocations: 263 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7835, allocations: 33.7 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.7835, allocations: 120 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.7836, allocations: 15.75 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.7836, allocations: 4 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7837, allocations: 334.7 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.7838, allocations: 27.92 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.7839, allocations: 72.27 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.784, allocations: 28 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.784, allocations: 4 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.7842, allocations: 113.4 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7842, allocations: 4 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7843, allocations: 4 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7843, allocations: 3.938 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.7844, allocations: 16.02 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.7844, allocations: 4.391 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.7845, allocations: 11.91 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.7845, allocations: 0 / 1.028 GB, free: 9.758 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.7847, allocations: 150.9 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.7847, allocations: 15.81 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.7847, allocations: 25.39 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.7848, allocations: 0 / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7848, allocations: 4 kB / 1.028 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7848, allocations: 0 / 1.028 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.785, allocations: 225.5 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.785, allocations: 0 / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.7851, allocations: 7.984 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7851, allocations: 0 / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7851, allocations: 4 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7851, allocations: 4 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7851, allocations: 0 / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.7854, allocations: 148.9 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.7855, allocations: 104.8 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.7855, allocations: 3.984 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.7856, allocations: 8 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.7856, allocations: 7.984 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.7856, allocations: 8 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001992/0.7858, allocations: 192.6 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7859, allocations: 0 / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002713/0.7861, allocations: 36 kB / 1.029 GB, free: 8.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.7873, allocations: 423.4 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.7875, allocations: 67.91 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7875, allocations: 0 / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.7876, allocations: 31.98 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.7879, allocations: 41.64 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.7885, allocations: 318.1 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.7888, allocations: 0.7243 MB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.694e-05/0.7889, allocations: 29.36 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.789, allocations: 15.44 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.789, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.006087/0.7951, allocations: 2.363 MB / 1.033 GB, free: 4.875 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