Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0013/0.0013, allocations: 110.4 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.001466/0.001466, allocations: 216.3 kB / 22.25 MB, free: 5.129 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.331/3.331, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_12_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.002099/0.002099, allocations: 64.95 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3922, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003544/0.3958, allocations: 1.823 MB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3979, allocations: 1.282 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.398, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.3983, allocations: 59.73 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.3987, allocations: 123.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.3992, allocations: 199.4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3995, allocations: 155.6 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3996, allocations: 17.89 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3997, allocations: 71.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3998, allocations: 71.67 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3999, allocations: 8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.4, allocations: 87.92 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.4001, allocations: 39.84 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.4002, allocations: 63.59 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.4005, allocations: 207.1 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4005, allocations: 8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4005, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4005, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 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.0006504/0.4012, allocations: 426.9 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4012, allocations: 8.031 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.4013, allocations: 38.75 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.4013, allocations: 16.84 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4017, allocations: 198.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4017, allocations: 4.375 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.4017, allocations: 11.94 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.4019, allocations: 96.16 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4019, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4019, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.402, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.4021, allocations: 31.98 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.4026, allocations: 335.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.4028, allocations: 86.69 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.4029, allocations: 32.84 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4029, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.4031, allocations: 83.38 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4031, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003876/0.4035, allocations: 141.5 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.4036, allocations: 102.8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.4039, allocations: 287 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.4039, allocations: 25.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.404, allocations: 120.1 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.404, allocations: 23.78 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.4041, allocations: 29.72 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4042, allocations: 334.8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/0.4043, allocations: 19.98 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4044, allocations: 64.28 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.4046, allocations: 77.62 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4046, allocations: 0 / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002303/0.4048, allocations: 117.5 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4048, allocations: 8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4048, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4049, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.405, allocations: 19.98 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.405, allocations: 400 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.405, allocations: 15.88 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.405, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 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.0001501/0.4052, allocations: 147.1 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.4052, allocations: 23.84 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.4055, allocations: 123 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4055, allocations: 4.188 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4055, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4055, allocations: 7.875 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.4058, allocations: 200.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4058, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.4058, allocations: 8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4058, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4059, allocations: 4 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4059, allocations: 3.984 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4059, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.4061, allocations: 136.9 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.4062, allocations: 23.89 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4062, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.4062, allocations: 4.047 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.4063, allocations: 19.91 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4063, allocations: 4 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002117/0.4065, allocations: 200.6 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4065, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000288/0.4068, allocations: 43.83 kB / 1.334 GB, free: 9.742 MB / 1.029 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.002175/0.409, allocations: 1.003 MB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.4092, allocations: 67.95 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4092, allocations: 0 / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.4093, allocations: 31.92 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4096, allocations: 44.52 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4121, allocations: 1.982 MB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4125, allocations: 0.7282 MB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.276e-05/0.4126, allocations: 25.06 kB / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.4127, allocations: 51.42 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4127, allocations: 0 / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.4466, allocations: 4.975 MB / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 4.719 kB / 1.342 GB, free: 0.9297 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.u from file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.681796339998982]