Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001754/0.001754, allocations: 110.7 kB / 15.99 MB, free: 6.355 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.001943/0.001943, allocations: 197.8 kB / 16.91 MB, free: 6.188 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.49/1.49, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 62.66 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3365, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003656/0.3401, allocations: 1.819 MB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3421, allocations: 1.087 MB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3422, allocations: 4 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.3426, allocations: 51.81 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.3429, allocations: 71.73 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.3436, allocations: 206 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.3438, allocations: 147.5 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.344, allocations: 25.09 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3441, allocations: 63.77 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3443, allocations: 63.75 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3443, allocations: 8 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3445, allocations: 71.91 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.3446, allocations: 43.83 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.3446, allocations: 55.61 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.3449, allocations: 152 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3449, allocations: 3.984 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3449, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3449, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 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.0007185/0.3456, allocations: 0.4884 MB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3457, allocations: 16.03 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.3458, allocations: 16.75 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.3461, allocations: 244.9 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3461, allocations: 4.375 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.3461, allocations: 12.12 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3464, allocations: 100.1 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3464, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3464, allocations: 8 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3465, allocations: 31.98 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.3471, allocations: 356.5 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.3473, allocations: 90.66 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.3474, allocations: 32.84 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3475, allocations: 4 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.3477, allocations: 83.41 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3477, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0003835/0.3481, allocations: 137.4 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.3482, allocations: 110.8 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.3485, allocations: 260.2 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3485, allocations: 25.7 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.3486, allocations: 116.1 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3486, allocations: 19.72 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.3487, allocations: 33.64 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3489, allocations: 330.8 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.349, allocations: 27.92 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3491, allocations: 76.27 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3492, allocations: 65.69 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3492, allocations: 7.938 kB / 1.07 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002347/0.3495, allocations: 113.4 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3495, allocations: 8 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3495, allocations: 0 / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3495, allocations: 4.031 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3496, allocations: 12 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3496, allocations: 3.984 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.3497, allocations: 11.88 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3497, allocations: 3.938 kB / 1.071 GB, free: 8.148 MB / 0.8419 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.0001469/0.3499, allocations: 145.8 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3499, allocations: 15.81 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.35, allocations: 21.39 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.35, allocations: 0 / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.35, allocations: 4 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.35, allocations: 3.938 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.3503, allocations: 225.6 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3503, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3503, allocations: 8 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3503, allocations: 3.984 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3503, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3503, allocations: 4 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3503, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3506, allocations: 148.8 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.3507, allocations: 96.92 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3507, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.3508, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3509, allocations: 11.98 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3509, allocations: 3.938 kB / 1.071 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000198/0.3511, allocations: 199.3 kB / 1.071 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3511, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002423/0.3513, allocations: 36 kB / 1.072 GB, free: 7.137 MB / 0.8419 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.001523/0.3529, allocations: 430.6 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3531, allocations: 83.89 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3531, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.3532, allocations: 35.97 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3535, allocations: 31.08 kB / 1.072 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.3541, allocations: 356.5 kB / 1.072 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3545, allocations: 0.7282 MB / 1.073 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.3546, allocations: 27.38 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3546, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of Templates: time 0.004902/0.3595, allocations: 2.593 MB / 1.076 GB, free: 2.98 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches