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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 215.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.473/3.473, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 68.89 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3808, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004122/0.3849, allocations: 1.785 MB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3874, allocations: 1.186 MB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3876, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.3879, allocations: 59.67 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.3883, allocations: 131.5 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.389, allocations: 185.7 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.3893, allocations: 163.5 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3894, allocations: 13.64 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3895, allocations: 71.69 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3896, allocations: 67.75 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3897, allocations: 8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3899, allocations: 83.86 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.39, allocations: 43.84 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.39, allocations: 39.73 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.3904, allocations: 211.4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3904, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3904, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3904, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 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.0007306/0.3911, allocations: 430.8 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3912, allocations: 16.03 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.3912, allocations: 38.73 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3913, allocations: 16.84 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.3917, allocations: 190.2 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3917, allocations: 8.359 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3917, allocations: 7.938 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3919, allocations: 117 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3919, allocations: 0 / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.392, allocations: 0 / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.392, allocations: 0 / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3921, allocations: 43.97 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.3927, allocations: 315.8 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.3929, allocations: 82.66 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.393, allocations: 36.78 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.393, allocations: 0 / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.3932, allocations: 95.34 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3932, allocations: 0 / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004303/0.3937, allocations: 141.5 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3937, allocations: 85.11 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.3941, allocations: 283.8 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3941, allocations: 25.7 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3942, allocations: 120.1 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.3942, allocations: 27.81 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.3943, allocations: 25.72 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3944, allocations: 334.8 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.3945, allocations: 23.98 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3946, allocations: 118.8 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3948, allocations: 73.73 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3948, allocations: 0 / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002323/0.3951, allocations: 117.5 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3951, allocations: 4 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3951, allocations: 4 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3951, allocations: 0 / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.3952, allocations: 8 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3952, allocations: 4 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.3953, allocations: 19.81 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3953, allocations: 4.031 kB / 1.37 GB, free: 7.016 MB / 1.061 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.0001475/0.3954, allocations: 145.8 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3955, allocations: 15.91 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3958, allocations: 135.4 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3958, allocations: 4 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3958, allocations: 0 / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3958, allocations: 3.938 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.396, allocations: 192.5 kB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.396, allocations: 192 / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.3961, allocations: 7.984 kB / 1.37 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3961, allocations: 11.94 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3961, allocations: 0 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3961, allocations: 80 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3961, allocations: 7.969 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3964, allocations: 152.9 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.3964, allocations: 23.89 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3964, allocations: 0 / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.3965, allocations: 4 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.3966, allocations: 23.91 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3966, allocations: 0 / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002078/0.3968, allocations: 212.6 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3968, allocations: 0 / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002565/0.397, allocations: 35.94 kB / 1.371 GB, free: 5.98 MB / 1.061 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.00222/0.3993, allocations: 1.028 MB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3995, allocations: 75.91 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3995, allocations: 0 / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3996, allocations: 31.98 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4, allocations: 53.3 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.4025, allocations: 1.99 MB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.4027, allocations: 114.6 kB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.4028, allocations: 33.72 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4029, allocations: 47.42 kB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of SimCode: time 1.372e-06/0.4029, allocations: 0 / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.4387, allocations: 5.477 MB / 1.38 GB, free: 13.26 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.81, allocations: 10.84 kB / 1.38 GB, free: 13.25 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intRep.u in file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.u from file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.31138241617009]