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.001394/0.001394, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002573/0.002573, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.004 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.348/3.348, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002832/0.002832, allocations: 67.5 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4032, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003489/0.4067, allocations: 1.806 MB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.409, allocations: 1.283 MB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.4091, allocations: 3.938 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.4095, allocations: 59.73 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.4099, allocations: 123.5 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.4105, allocations: 202.5 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.4107, allocations: 159.6 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4108, allocations: 9.922 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.4109, allocations: 71.69 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.4111, allocations: 75.67 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.4111, allocations: 8 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.4113, allocations: 79.94 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.4113, allocations: 47.83 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.4114, allocations: 55.62 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.4118, allocations: 215.1 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4118, allocations: 4 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4118, allocations: 0 / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4118, allocations: 0 / 1.357 GB, free: 4.23 MB / 1.045 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.0006649/0.4124, allocations: 426.9 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.4125, allocations: 8.031 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.4125, allocations: 34.75 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.4126, allocations: 20.8 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.4129, allocations: 206.1 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4129, allocations: 384 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.4129, allocations: 7.938 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.4131, allocations: 96.22 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4132, allocations: 3.938 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4132, allocations: 3.984 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.4132, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4133, allocations: 27.98 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.4138, allocations: 335.7 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.414, allocations: 82.7 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.4141, allocations: 36.83 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4141, allocations: 0 / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.4143, allocations: 83.38 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.4143, allocations: 0 / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003758/0.4147, allocations: 145.7 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.4148, allocations: 106.8 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.4151, allocations: 279.8 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4151, allocations: 29.7 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.4152, allocations: 116.1 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.4152, allocations: 27.84 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.4153, allocations: 21.72 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4154, allocations: 334.8 kB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.4155, allocations: 23.98 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.4156, allocations: 68.22 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.4158, allocations: 85.67 kB / 1.359 GB, free: 1.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4158, allocations: 0 / 1.359 GB, free: 1.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002254/0.416, allocations: 113.5 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.416, allocations: 8 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.416, allocations: 0 / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.416, allocations: 3.938 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.4161, allocations: 15.98 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4161, allocations: 0 / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.4162, allocations: 23.86 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4162, allocations: 0 / 1.36 GB, free: 1.266 MB / 1.045 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.0001381/0.4164, allocations: 146.9 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4164, allocations: 15.91 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.4167, allocations: 127 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.4167, allocations: 4 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4167, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4167, allocations: 3.938 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.4169, allocations: 200.7 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4169, allocations: 0 / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.4169, allocations: 4 kB / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4169, allocations: 0 / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4169, allocations: 0 / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4169, allocations: 4 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4169, allocations: 0 / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4172, allocations: 152.8 kB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.4172, allocations: 19.91 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.4173, allocations: 3.984 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.4173, allocations: 8 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.4174, allocations: 11.92 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4174, allocations: 4 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002254/0.4176, allocations: 204.6 kB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4176, allocations: 0 / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002468/0.4178, allocations: 35.94 kB / 1.361 GB, free: 268 kB / 1.045 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.002012/0.4199, allocations: 1.001 MB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4201, allocations: 71.95 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4201, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.4202, allocations: 43.89 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.4205, allocations: 46.06 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.4229, allocations: 1.973 MB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.4232, allocations: 0.7202 MB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.853e-05/0.4233, allocations: 33.36 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.4234, allocations: 51.42 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4234, allocations: 0 / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4561, allocations: 4.97 MB / 1.369 GB, free: 7.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.37, allocations: 5.812 kB / 1.369 GB, free: 7.438 MB / 1.061 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: 18.905289764000372]