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.001144/0.001144, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001459/0.001459, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8831/0.8831, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.724/1.724, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 4 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.765e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002578/0.002595, allocations: 1.773 MB / 0.9522 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.004386, allocations: 1.2 MB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.004497, allocations: 0 / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.004886, allocations: 59.67 kB / 0.9535 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.005276, allocations: 119.4 kB / 0.9536 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.005785, allocations: 199 kB / 0.9538 GB, free: 108 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.005995, allocations: 167.5 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.006093, allocations: 9.641 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.006199, allocations: 91.73 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.352e-05/0.006293, allocations: 55.86 kB / 0.9541 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.006309, allocations: 8 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.006448, allocations: 87.86 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.006513, allocations: 35.86 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.006561, allocations: 39.84 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.006808, allocations: 207.4 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00681, allocations: 0 / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.282e-06/0.006812, allocations: 3.938 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.006816, allocations: 3.938 kB / 0.9544 GB, free: 15.4 MB / 0.9167 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.0004892/0.007305, allocations: 430.8 kB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.007339, allocations: 8.031 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.007368, allocations: 42.73 kB / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.007407, allocations: 24.8 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.007654, allocations: 189.4 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.007668, allocations: 384 / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.007679, allocations: 8.359 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.007846, allocations: 121.3 kB / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.007852, allocations: 0 / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007863, allocations: 4 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.007871, allocations: 0 / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.007941, allocations: 39.97 kB / 0.9553 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.008321, allocations: 311.8 kB / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.008465, allocations: 86.66 kB / 0.9557 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.00851, allocations: 32.84 kB / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.008524, allocations: 0 / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.008661, allocations: 87.39 kB / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.008662, allocations: 0 / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002471/0.008909, allocations: 145.5 kB / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.008987, allocations: 81.11 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.009186, allocations: 283.1 kB / 0.9563 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.0092, allocations: 29.7 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.00926, allocations: 120.1 kB / 0.9564 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.009282, allocations: 23.84 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.009319, allocations: 33.64 kB / 0.9565 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.009407, allocations: 334.8 kB / 0.9568 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.009453, allocations: 27.98 kB / 0.9568 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.009525, allocations: 110.8 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.471e-05/0.00962, allocations: 78.17 kB / 0.957 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009622, allocations: 0 / 0.957 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000131/0.009753, allocations: 121.5 kB / 0.9571 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.009764, allocations: 4 kB / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.009771, allocations: 7.984 kB / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.00978, allocations: 0 / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.009842, allocations: 12 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.009849, allocations: 7.938 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.009889, allocations: 11.88 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.009895, allocations: 4 kB / 0.9571 GB, free: 12.39 MB / 0.9167 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 8.825e-05/0.009983, allocations: 145.8 kB / 0.9573 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.01, allocations: 19.94 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.01018, allocations: 131 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.01018, allocations: 4 kB / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01019, allocations: 0 / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01019, allocations: 0 / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01032, allocations: 188.6 kB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01032, allocations: 0 / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.01035, allocations: 7.984 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01035, allocations: 4 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.01036, allocations: 0 / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01036, allocations: 4 kB / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01036, allocations: 0 / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.0105, allocations: 160.8 kB / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.01053, allocations: 19.91 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.01054, allocations: 3.984 kB / 0.9578 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.622e-05/0.01057, allocations: 7.938 kB / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.01061, allocations: 11.98 kB / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.01062, allocations: 0 / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01074, allocations: 204.6 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01074, allocations: 0 / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000174/0.01091, allocations: 39.92 kB / 0.9581 GB, free: 11.38 MB / 0.9167 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.0009452/0.01186, allocations: 1.034 MB / 0.9591 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.01201, allocations: 75.89 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01201, allocations: 3.938 kB / 0.9591 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.01206, allocations: 35.98 kB / 0.9592 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.01225, allocations: 37.81 kB / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.01376, allocations: 2.019 MB / 0.9612 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.122e-05/0.01383, allocations: 110.8 kB / 0.9613 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.01388, allocations: 25.78 kB / 0.9613 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.01395, allocations: 56.47 kB / 0.9614 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01395, allocations: 4 kB / 0.9614 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.03091, allocations: 5.634 MB / 0.9669 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.032, allocations: 6.406 kB / 0.9669 GB, free: 2.484 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.160188756883144]