Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008793/0.008793, allocations: 96.3 kB / 15.73 MB, free: 6.484 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.00191/0.00191, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.31 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.395, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003361/0.3984, allocations: 1.768 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.4003, allocations: 1.117 MB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.4004, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.4007, allocations: 59.73 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.401, allocations: 79.66 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.4016, allocations: 228.2 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.4018, allocations: 139.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.402, allocations: 33.09 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.4021, allocations: 67.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.4022, allocations: 63.75 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4022, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.4024, allocations: 75.94 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.4025, allocations: 43.78 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.4026, allocations: 55.61 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.4029, allocations: 199.2 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4029, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4029, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.4029, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 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.0007403/0.4037, allocations: 0.4901 MB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4037, allocations: 12.03 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.4038, allocations: 16.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.4042, allocations: 260.9 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4042, allocations: 4.375 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.4042, allocations: 8.125 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4045, allocations: 100.2 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4045, allocations: 0 / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4045, allocations: 0 / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.4045, allocations: 0 / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.4046, allocations: 35.97 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.4052, allocations: 356.6 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4054, allocations: 82.67 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.4055, allocations: 36.84 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.4055, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.4057, allocations: 83.39 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4057, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003822/0.4061, allocations: 141.5 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.4062, allocations: 110.8 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.4065, allocations: 263 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4065, allocations: 25.7 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.4066, allocations: 128 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.4066, allocations: 11.91 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.4067, allocations: 33.69 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4068, allocations: 334.8 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.4069, allocations: 19.98 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.407, allocations: 80.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4072, allocations: 65.7 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4072, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002223/0.4074, allocations: 117.8 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4074, allocations: 4 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.4074, allocations: 4.031 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4075, allocations: 4 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.4076, allocations: 11.98 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4076, allocations: 4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.4077, allocations: 11.89 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4077, allocations: 4 kB / 1.094 GB, free: 10.48 MB / 0.8575 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.0001419/0.4078, allocations: 151.7 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.4079, allocations: 19.91 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.4079, allocations: 17.41 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4079, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4079, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4079, allocations: 7.922 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.4081, allocations: 217.6 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4081, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.4082, allocations: 12 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4082, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4082, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4082, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4082, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.4085, allocations: 156.8 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.4085, allocations: 93 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4086, allocations: 8 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.4086, allocations: 192 / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.4087, allocations: 7.984 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4087, allocations: 11.92 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001799/0.4089, allocations: 192.6 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4089, allocations: 4 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002434/0.4092, allocations: 39.91 kB / 1.095 GB, free: 9.469 MB / 0.8575 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.001019/0.4102, allocations: 425.8 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4104, allocations: 71.89 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4104, allocations: 0 / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.4105, allocations: 31.98 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.4108, allocations: 45.39 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.4114, allocations: 286.7 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4117, allocations: 0.7239 MB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.367e-05/0.4118, allocations: 33.38 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4118, allocations: 19.44 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.4118, allocations: 0 / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.00583/0.4177, allocations: 2.547 MB / 1.099 GB, free: 5.43 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches