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.001724/0.001724, allocations: 105 kB / 16.45 MB, free: 6.449 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.002063/0.002063, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.954/2.954, allocations: 476.7 MB / 0.7672 GB, free: 5.219 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.002084/0.002084, allocations: 75.89 kB / 1.112 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003578/1.025, allocations: 1.801 MB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002177/1.027, allocations: 1.268 MB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/1.027, allocations: 7.938 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003498/1.027, allocations: 59.67 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/1.028, allocations: 123.5 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/1.028, allocations: 189.4 kB / 1.282 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/1.028, allocations: 159.6 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/1.029, allocations: 9.453 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/1.029, allocations: 75.69 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/1.029, allocations: 75.67 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/1.029, allocations: 4 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/1.029, allocations: 71.95 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/1.029, allocations: 47.83 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/1.029, allocations: 63.55 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/1.029, allocations: 209 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.029, allocations: 0 / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/1.029, allocations: 0 / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.029, allocations: 4 kB / 1.282 GB, free: 9.273 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.0007385/1.03, allocations: 0.4883 MB / 1.283 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.03, allocations: 11.97 kB / 1.283 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/1.03, allocations: 38.73 kB / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/1.03, allocations: 20.84 kB / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/1.031, allocations: 263.8 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.031, allocations: 4.375 kB / 1.283 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.031, allocations: 11.92 kB / 1.283 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/1.031, allocations: 100.2 kB / 1.283 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/1.031, allocations: 0 / 1.283 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.031, allocations: 0 / 1.283 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.031, allocations: 8 kB / 1.283 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/1.031, allocations: 31.97 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/1.032, allocations: 348.7 kB / 1.284 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/1.032, allocations: 86.69 kB / 1.284 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/1.032, allocations: 32.84 kB / 1.284 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.032, allocations: 4 kB / 1.284 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/1.032, allocations: 87.36 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 5.2e-06/1.032, allocations: 3.984 kB / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003999/1.033, allocations: 149.5 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/1.033, allocations: 102.8 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/1.033, allocations: 272.1 kB / 1.284 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.033, allocations: 33.7 kB / 1.284 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/1.033, allocations: 124.1 kB / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/1.033, allocations: 19.84 kB / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/1.033, allocations: 25.7 kB / 1.284 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.033, allocations: 326.8 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/1.034, allocations: 27.98 kB / 1.285 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/1.034, allocations: 76.2 kB / 1.285 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/1.034, allocations: 65.7 kB / 1.285 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.034, allocations: 0 / 1.285 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002491/1.034, allocations: 129.4 kB / 1.285 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.034, allocations: 4 kB / 1.285 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.034, allocations: 0 / 1.285 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.034, allocations: 4 kB / 1.285 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.034, allocations: 8 kB / 1.285 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.034, allocations: 8.031 kB / 1.285 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/1.034, allocations: 7.922 kB / 1.285 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.034, allocations: 4 kB / 1.285 GB, free: 6.105 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.0001542/1.034, allocations: 142.5 kB / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/1.034, allocations: 19.86 kB / 1.285 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/1.034, allocations: 25.33 kB / 1.285 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.035, allocations: 0 / 1.285 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.035, allocations: 0 / 1.285 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.035, allocations: 3.938 kB / 1.285 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/1.035, allocations: 229.6 kB / 1.286 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.035, allocations: 0 / 1.286 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/1.035, allocations: 11.98 kB / 1.286 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.035, allocations: 0 / 1.286 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.035, allocations: 4 kB / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.035, allocations: 0 / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.035, allocations: 0 / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/1.035, allocations: 140.9 kB / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/1.035, allocations: 96.95 kB / 1.286 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/1.035, allocations: 8 kB / 1.286 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/1.035, allocations: 7.984 kB / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/1.035, allocations: 7.938 kB / 1.286 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.035, allocations: 12.11 kB / 1.286 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002173/1.036, allocations: 199.5 kB / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.036, allocations: 3.938 kB / 1.286 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002737/1.036, allocations: 35.98 kB / 1.286 GB, free: 5.074 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.0021/1.038, allocations: 1 MB / 1.287 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002395/1.038, allocations: 71.89 kB / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.038, allocations: 0 / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/1.038, allocations: 31.98 kB / 1.287 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/1.039, allocations: 53.47 kB / 1.287 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/1.041, allocations: 1.983 MB / 1.289 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/1.041, allocations: 0.7241 MB / 1.29 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.941e-05/1.042, allocations: 29.36 kB / 1.29 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/1.042, allocations: 47.42 kB / 1.29 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.042, allocations: 0 / 1.29 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/1.071, allocations: 4.822 MB / 1.295 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/9.204, allocations: 6.125 kB / 1.295 GB, free: 12.42 MB / 0.9981 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 & 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: 15.809955694014207]