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.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.00187/0.00187, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003272/0.003272, allocations: 215 kB / 22.24 MB, free: 5.242 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.624/1.624, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.977/2.977, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.002233/0.002233, allocations: 65.06 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3545, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003477/0.358, allocations: 1.758 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.3603, allocations: 1.198 MB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.3604, allocations: 4 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.3607, allocations: 55.67 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.3611, allocations: 123.5 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.3617, allocations: 201.5 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.362, allocations: 159.5 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3621, allocations: 13.64 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3622, allocations: 71.69 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3623, allocations: 67.73 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.3624, allocations: 8 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3626, allocations: 87.86 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.3627, allocations: 35.86 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.3627, allocations: 51.72 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.3631, allocations: 204.9 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 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.0007135/0.3638, allocations: 438.7 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3638, allocations: 8.031 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.3639, allocations: 34.75 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.3639, allocations: 16.84 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.3643, allocations: 206.1 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3643, allocations: 4.375 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3643, allocations: 11.92 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3646, allocations: 113 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3646, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3646, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.3646, allocations: 7.984 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3647, allocations: 31.98 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.3652, allocations: 319.8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3655, allocations: 86.67 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.3656, allocations: 36.81 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3656, allocations: 0 / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3658, allocations: 91.41 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3658, allocations: 0 / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003929/0.3662, allocations: 141.5 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.3662, allocations: 81.09 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.3665, allocations: 279 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3666, allocations: 25.7 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.3667, allocations: 132.1 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3667, allocations: 19.83 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.3667, allocations: 33.64 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3669, allocations: 326.8 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.367, allocations: 27.98 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3671, allocations: 114.8 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3673, allocations: 65.7 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3673, allocations: 192 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002432/0.3675, allocations: 129.5 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3675, allocations: 7.938 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3675, allocations: 0 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3675, allocations: 0 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3676, allocations: 19.98 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3676, allocations: 3.938 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.3677, allocations: 7.938 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3677, allocations: 4 kB / 1.289 GB, free: 5.355 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.0001383/0.3679, allocations: 137.8 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3679, allocations: 15.91 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.3682, allocations: 142.9 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3682, allocations: 4 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3682, allocations: 0 / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3682, allocations: 7.922 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3684, allocations: 184.6 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3684, allocations: 0 / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.3685, allocations: 8 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3685, allocations: 0 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3685, allocations: 0 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3685, allocations: 0 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3685, allocations: 11.98 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3687, allocations: 152.9 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.3688, allocations: 15.84 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3688, allocations: 11.98 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.3689, allocations: 4 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3689, allocations: 15.92 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3689, allocations: 7.984 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002066/0.3691, allocations: 200.7 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3692, allocations: 0 / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002625/0.3694, allocations: 35.88 kB / 1.29 GB, free: 4.34 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.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.002248/0.3717, allocations: 1.029 MB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3719, allocations: 79.84 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3719, allocations: 0 / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.372, allocations: 35.97 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3723, allocations: 49.58 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.375, allocations: 1.995 MB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3752, allocations: 118.5 kB / 1.293 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.409e-05/0.3752, allocations: 17.42 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3753, allocations: 55.41 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.3753, allocations: 0 / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.4115, allocations: 5.495 MB / 1.299 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.11, allocations: 2.031 kB / 1.299 GB, free: 11.61 MB / 0.9981 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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) [Timeout 300] "Error: Could not read variable intRep.u in file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.u from file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.522616152185947]