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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 71.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.877/0.8792, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004335/0.8835, allocations: 1.774 MB / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.8857, allocations: 1.124 MB / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.8858, allocations: 0 / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.8862, allocations: 63.67 kB / 1.272 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.8864, allocations: 79.67 kB / 1.272 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.8871, allocations: 218.8 kB / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.8874, allocations: 147.6 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.8875, allocations: 21.11 kB / 1.272 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.8876, allocations: 67.75 kB / 1.272 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.8878, allocations: 63.75 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.8878, allocations: 8 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.888, allocations: 71.89 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.8881, allocations: 47.83 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.8882, allocations: 55.61 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.8886, allocations: 201.1 kB / 1.273 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8886, allocations: 0 / 1.273 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8886, allocations: 3.938 kB / 1.273 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8886, allocations: 0 / 1.273 GB, free: 1.242 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.000816/0.8894, allocations: 0.4922 MB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8894, allocations: 8.031 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.8895, allocations: 30.75 kB / 1.273 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.8895, allocations: 20.84 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.89, allocations: 257 kB / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.89, allocations: 8.375 kB / 1.273 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.89, allocations: 7.938 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.8903, allocations: 100.1 kB / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8903, allocations: 0 / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.8903, allocations: 4 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.8903, allocations: 0 / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.8904, allocations: 39.91 kB / 1.274 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.8911, allocations: 352.8 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.8913, allocations: 82.67 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.8914, allocations: 32.78 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.8914, allocations: 0 / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.8916, allocations: 87.33 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.8916, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003854/0.892, allocations: 145.5 kB / 1.274 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.8921, allocations: 110.7 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.8924, allocations: 266.9 kB / 1.275 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.8924, allocations: 25.7 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.8925, allocations: 120.1 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.8925, allocations: 23.8 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.8926, allocations: 25.7 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.8928, allocations: 330.8 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.8929, allocations: 27.98 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.893, allocations: 68.27 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.8931, allocations: 69.64 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8931, allocations: 0 / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002261/0.8933, allocations: 109.6 kB / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8934, allocations: 8.031 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8934, allocations: 0 / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8934, allocations: 4 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.8935, allocations: 19.92 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8935, allocations: 4 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.8936, allocations: 7.891 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.8936, allocations: 4.188 kB / 1.275 GB, free: 14.11 MB / 0.9825 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.0001584/0.8937, allocations: 150.5 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.8938, allocations: 19.84 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.8938, allocations: 17.41 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.8938, allocations: 4 kB / 1.276 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.8938, allocations: 4 kB / 1.276 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8938, allocations: 7.922 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.8941, allocations: 221.5 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8941, allocations: 0 / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.8941, allocations: 8 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8941, allocations: 0 / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8941, allocations: 0 / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8941, allocations: 0 / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8941, allocations: 4 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.8944, allocations: 153.2 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.8945, allocations: 97 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.8945, allocations: 4 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.8945, allocations: 0 / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.8946, allocations: 15.92 kB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.8946, allocations: 4.047 kB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002024/0.8948, allocations: 200.4 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8948, allocations: 0 / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002652/0.8951, allocations: 35.92 kB / 1.276 GB, free: 13.08 MB / 0.9825 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.002031/0.8971, allocations: 1.003 MB / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.8974, allocations: 71.95 kB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8974, allocations: 0 / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.8975, allocations: 35.92 kB / 1.277 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.8978, allocations: 46.03 kB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.9003, allocations: 1.953 MB / 1.279 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.9007, allocations: 0.7279 MB / 1.28 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.58e-05/0.9008, allocations: 25.38 kB / 1.28 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.9009, allocations: 43.42 kB / 1.28 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.9009, allocations: 0 / 1.28 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.9302, allocations: 4.733 MB / 1.285 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.279, allocations: 5.812 kB / 1.285 GB, free: 4.566 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.484676926862448]