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.007369/0.007369, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001737/0.001738, allocations: 196.2 kB / 16.68 MB, free: 5.484 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.738/2.738, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 67.84 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3291, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003181/0.3323, allocations: 1.772 MB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3341, allocations: 1.096 MB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.3342, allocations: 4 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.3346, allocations: 59.67 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.3349, allocations: 79.66 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.3355, allocations: 231 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3357, allocations: 151.6 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3358, allocations: 25.09 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3359, allocations: 63.72 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3361, allocations: 67.69 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3361, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3363, allocations: 75.88 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.3364, allocations: 35.91 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.3365, allocations: 63.59 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3368, allocations: 199.2 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3368, allocations: 4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3368, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3368, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 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.0006803/0.3375, allocations: 0.4883 MB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3375, allocations: 8.031 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.3376, allocations: 16.84 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.338, allocations: 256.9 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.338, allocations: 4.375 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.338, allocations: 12.12 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3382, allocations: 96.16 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3383, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3383, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.3383, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3384, allocations: 31.98 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.339, allocations: 356.7 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3392, allocations: 86.66 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.3393, allocations: 32.84 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3393, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.3395, allocations: 91.39 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.3395, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0003554/0.3399, allocations: 137.5 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.34, allocations: 106.8 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.3402, allocations: 266.8 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3403, allocations: 25.7 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.3404, allocations: 120.1 kB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3404, allocations: 23.84 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3404, allocations: 29.7 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3406, allocations: 334.8 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.3407, allocations: 27.94 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.3408, allocations: 76.2 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3409, allocations: 65.78 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.341, allocations: 4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.3412, allocations: 113.5 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3412, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3412, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3412, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.3413, allocations: 15.94 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3414, allocations: 7.984 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.3414, allocations: 7.875 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3414, allocations: 4 kB / 1.173 GB, free: 15.79 MB / 0.9356 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.0001284/0.3416, allocations: 150.5 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3416, allocations: 19.86 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3417, allocations: 17.39 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3417, allocations: 4 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3417, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3417, allocations: 3.938 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.3419, allocations: 221.5 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3419, allocations: 0 / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.342, allocations: 8 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.342, allocations: 7.984 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.342, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.342, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.342, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3423, allocations: 145.3 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3423, allocations: 93 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3424, allocations: 11.98 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.3424, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.3425, allocations: 15.98 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3425, allocations: 11.94 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001857/0.3427, allocations: 200.4 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3427, allocations: 0 / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002576/0.343, allocations: 31.94 kB / 1.174 GB, free: 14.77 MB / 0.9356 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.0009897/0.344, allocations: 417.8 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3442, allocations: 83.86 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3442, allocations: 0 / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.3443, allocations: 35.98 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3446, allocations: 41.2 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.3452, allocations: 294.6 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3455, allocations: 0.7201 MB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.643e-05/0.3456, allocations: 29.38 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.3456, allocations: 23.42 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3456, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.00588/0.3515, allocations: 2.54 MB / 1.178 GB, free: 10.73 MB / 0.9356 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