Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006418/0.006418, allocations: 101.5 kB / 15.73 MB, free: 6.012 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.001208/0.001208, allocations: 196.9 kB / 16.67 MB, free: 5.949 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 60.12 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003256/0.3331, allocations: 1.764 MB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3349, allocations: 1.111 MB / 1.211 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3351, allocations: 0 / 1.211 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.3354, allocations: 63.67 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.3357, allocations: 75.67 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.3365, allocations: 226.2 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.3368, allocations: 147.6 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.3369, allocations: 17.11 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.337, allocations: 67.77 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3371, allocations: 63.75 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3371, allocations: 8 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3373, allocations: 71.89 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.3374, allocations: 43.83 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.3374, allocations: 59.61 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.3377, allocations: 195.5 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3378, allocations: 0 / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3378, allocations: 0 / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3378, allocations: 0 / 1.212 GB, free: 5.738 MB / 0.9669 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.0006727/0.3384, allocations: 0.4924 MB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3385, allocations: 8.625 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.3386, allocations: 16.75 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3389, allocations: 241 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3389, allocations: 8.375 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3389, allocations: 8.125 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3391, allocations: 92.16 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3392, allocations: 11.98 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3392, allocations: 4 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.3392, allocations: 0 / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3393, allocations: 31.98 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.3398, allocations: 364.5 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.34, allocations: 82.66 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.3401, allocations: 36.84 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3401, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.3403, allocations: 87.34 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.3403, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003481/0.3407, allocations: 141.4 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3407, allocations: 106.8 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.341, allocations: 272.2 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.341, allocations: 25.7 kB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3411, allocations: 120 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3411, allocations: 15.81 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3412, allocations: 33.64 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3413, allocations: 326.8 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.3414, allocations: 27.98 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.3415, allocations: 72.27 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3416, allocations: 65.7 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3416, allocations: 0 / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002799/0.3419, allocations: 121.4 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3419, allocations: 4 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3419, allocations: 0 / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.342, allocations: 8.031 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.3421, allocations: 12 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3421, allocations: 3.938 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.3422, allocations: 15.86 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3422, allocations: 8 kB / 1.214 GB, free: 2.648 MB / 0.9669 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.0001209/0.3423, allocations: 141.8 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3423, allocations: 11.81 kB / 1.214 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.3424, allocations: 21.39 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3424, allocations: 8 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3424, allocations: 4 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3424, allocations: 3.938 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3426, allocations: 217.5 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3426, allocations: 0 / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3427, allocations: 4 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3427, allocations: 4 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3427, allocations: 3.984 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3427, allocations: 0 / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3427, allocations: 0 / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3429, allocations: 156.8 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.343, allocations: 93.05 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3431, allocations: 4 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.3431, allocations: 7.938 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.3432, allocations: 7.984 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3432, allocations: 7.938 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000173/0.3434, allocations: 199.3 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3434, allocations: 0 / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002465/0.3436, allocations: 36 kB / 1.215 GB, free: 1.637 MB / 0.9669 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.0009345/0.3446, allocations: 428 kB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.3448, allocations: 67.91 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3448, allocations: 0 / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.3449, allocations: 35.97 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3452, allocations: 44.03 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.3457, allocations: 310.8 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.346, allocations: 0.7204 MB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.415e-05/0.3461, allocations: 25 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.3462, allocations: 23.42 kB / 1.217 GB, free: 112 kB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3462, allocations: 4 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of Templates: time 0.005897/0.3521, allocations: 2.571 MB / 1.219 GB, free: 13.55 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches