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.0009931/0.0009931, allocations: 91.53 kB / 16.02 MB, free: 80 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.001327/0.001327, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.569/1.569, allocations: 223.3 MB / 241 MB, free: 5.281 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.574/2.574, allocations: 437.8 MB / 0.7128 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.633, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002224/0.6353, allocations: 1.486 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.6372, allocations: 1.065 MB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.6373, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.6376, allocations: 59.8 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.6379, allocations: 63.8 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.6385, allocations: 207.4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.6388, allocations: 131.7 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.6389, allocations: 29.09 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.639, allocations: 51.72 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.6391, allocations: 55.75 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.6392, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.6393, allocations: 59.89 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.6394, allocations: 39.84 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.6395, allocations: 73.38 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.6397, allocations: 157.6 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6398, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6398, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6398, allocations: 4 kB / 1.027 GB, free: 12.35 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.0006565/0.6404, allocations: 468.5 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6405, allocations: 8.031 kB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.6406, allocations: 16.75 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.6409, allocations: 256.8 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6409, allocations: 4.312 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.6409, allocations: 8.125 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.6411, allocations: 100.2 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.6411, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6412, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6412, allocations: 8 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.6413, allocations: 31.97 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.6419, allocations: 352.6 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.6421, allocations: 90.66 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.6422, allocations: 28.84 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6423, allocations: 4 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.6425, allocations: 83.36 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.6425, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003719/0.6429, allocations: 141.5 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.6429, allocations: 106.8 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.6432, allocations: 259 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6433, allocations: 29.7 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.6433, allocations: 112.1 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.6434, allocations: 31.56 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.6434, allocations: 17.72 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6436, allocations: 338.8 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.6436, allocations: 23.98 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6437, allocations: 72.2 kB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.6439, allocations: 70 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6439, allocations: 0 / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002255/0.6441, allocations: 117.4 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6442, allocations: 4 kB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6442, allocations: 0 / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6442, allocations: 4 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.6443, allocations: 12 kB / 1.03 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6443, allocations: 4 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.6444, allocations: 11.92 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.6444, allocations: 3.938 kB / 1.03 GB, free: 9.309 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.0001445/0.6446, allocations: 149.8 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.6446, allocations: 15.81 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.6446, allocations: 21.42 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.6447, allocations: 4 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6447, allocations: 0 / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6447, allocations: 3.938 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.6449, allocations: 225.5 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6449, allocations: 4 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.645, allocations: 4 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.645, allocations: 3.984 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.645, allocations: 0 / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.645, allocations: 4 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.645, allocations: 4 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.6452, allocations: 136.8 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.6453, allocations: 96.92 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.6454, allocations: 4 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.6454, allocations: 7.984 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.6455, allocations: 15.92 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.6455, allocations: 15.92 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001758/0.6457, allocations: 188.6 kB / 1.031 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6457, allocations: 0 / 1.031 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002706/0.646, allocations: 40.08 kB / 1.031 GB, free: 8.293 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.001017/0.647, allocations: 421 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.6472, allocations: 71.95 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6472, allocations: 4.062 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.6473, allocations: 35.92 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.6477, allocations: 49.23 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.6482, allocations: 347.8 kB / 1.032 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.6486, allocations: 0.7282 MB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.6486, allocations: 15.44 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6486, allocations: 0 / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of Templates: time 0.004979/0.6536, allocations: 2.569 MB / 1.035 GB, free: 4.176 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches