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.001689/0.001689, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001526/0.001526, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.977 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.985/2.985, allocations: 476.7 MB / 0.7707 GB, free: 4.281 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.002033/0.002033, allocations: 68.19 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3438, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003577/0.3474, allocations: 1.82 MB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3497, allocations: 1.288 MB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3498, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3501, allocations: 63.67 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.3505, allocations: 119.5 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.3511, allocations: 197.8 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3513, allocations: 163.5 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3514, allocations: 9.641 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3515, allocations: 71.69 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3517, allocations: 71.73 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3517, allocations: 8 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3519, allocations: 91.86 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.352, allocations: 43.84 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.352, allocations: 55.61 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.3524, allocations: 210.7 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3524, allocations: 4 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3524, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3524, allocations: 0 / 1.287 GB, free: 7.504 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.0007029/0.3531, allocations: 430.8 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3531, allocations: 8.031 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.3532, allocations: 34.75 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.3532, allocations: 20.84 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3536, allocations: 202.1 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3537, allocations: 8.312 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3537, allocations: 11.88 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3539, allocations: 88.23 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3539, allocations: 0 / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3539, allocations: 7.984 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3539, allocations: 8 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3541, allocations: 35.92 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.3546, allocations: 331.7 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.3548, allocations: 82.7 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.3549, allocations: 36.84 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3549, allocations: 3.984 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.3551, allocations: 79.38 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.3551, allocations: 0 / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003776/0.3555, allocations: 133.6 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.3557, allocations: 106.8 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.356, allocations: 283 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.356, allocations: 33.7 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3561, allocations: 120.1 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.3562, allocations: 27.83 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3562, allocations: 21.72 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3564, allocations: 334.8 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.3565, allocations: 23.98 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3566, allocations: 68.28 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3567, allocations: 77.92 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3567, allocations: 0 / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002359/0.357, allocations: 109.6 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.357, allocations: 10.5 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.357, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.357, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3571, allocations: 24.14 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3571, allocations: 0 / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.3572, allocations: 19.8 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3572, allocations: 0 / 1.29 GB, free: 4.535 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.000169/0.3574, allocations: 142.5 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.3574, allocations: 19.86 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.3577, allocations: 127 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3577, allocations: 4 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3577, allocations: 4 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3577, allocations: 3.938 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3579, allocations: 200.6 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3579, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.358, allocations: 4 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.358, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.358, allocations: 4 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.358, allocations: 4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.358, allocations: 0 / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3582, allocations: 144.9 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.3583, allocations: 15.91 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.3583, allocations: 7.984 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.3584, allocations: 0 / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.3584, allocations: 19.86 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3584, allocations: 4 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002166/0.3587, allocations: 204.6 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3587, allocations: 0 / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002675/0.3589, allocations: 39.89 kB / 1.291 GB, free: 3.527 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 (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.002115/0.361, allocations: 0.9933 MB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3613, allocations: 63.91 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3613, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.3614, allocations: 40.03 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3617, allocations: 45.81 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.3643, allocations: 1.992 MB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3647, allocations: 0.7241 MB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.827e-05/0.3648, allocations: 21.06 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.3649, allocations: 51.42 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.3649, allocations: 0 / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.399, allocations: 4.978 MB / 1.3 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 6.938 kB / 1.3 GB, free: 10.72 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.5749994050002]