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.001632/0.001632, allocations: 105.2 kB / 16.45 MB, free: 6.453 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.00193/0.00193, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.25/3.25, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.002018/0.002018, allocations: 78.16 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003498/0.3444, allocations: 1.8 MB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.3465, allocations: 1.278 MB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.3466, allocations: 3.938 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.3469, allocations: 59.73 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.3472, allocations: 119.5 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.3478, allocations: 191 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.348, allocations: 159.6 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3481, allocations: 13.45 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3482, allocations: 71.69 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3483, allocations: 71.67 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.3484, allocations: 8 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3485, allocations: 79.94 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.3486, allocations: 35.84 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.3487, allocations: 71.55 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.349, allocations: 203.5 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.349, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.349, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.349, allocations: 0 / 1.325 GB, free: 15.16 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.0007225/0.3498, allocations: 0.4922 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3498, allocations: 15.98 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3498, allocations: 38.73 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.3499, allocations: 24.77 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3502, allocations: 252 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3503, allocations: 4.375 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3503, allocations: 11.92 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3505, allocations: 104.1 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3505, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3505, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.3505, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3506, allocations: 31.98 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.3512, allocations: 364.6 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3515, allocations: 82.66 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.3515, allocations: 24.84 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3516, allocations: 8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.3517, allocations: 83.41 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.3517, allocations: 3.938 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003998/0.3521, allocations: 141.5 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.3522, allocations: 106.8 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.3525, allocations: 279 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3526, allocations: 29.7 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3527, allocations: 120.1 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3527, allocations: 27.8 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3527, allocations: 25.7 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3529, allocations: 326.8 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.353, allocations: 27.98 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3531, allocations: 76.14 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3533, allocations: 77.69 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3533, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002422/0.3535, allocations: 117.8 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3535, allocations: 5.875 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3535, allocations: 0 / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3536, allocations: 4 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3537, allocations: 11.98 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3537, allocations: 0 / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.3537, allocations: 11.97 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3538, allocations: 11.98 kB / 1.328 GB, free: 11.99 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.0001453/0.3539, allocations: 142.5 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3539, allocations: 19.86 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.354, allocations: 17.41 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.354, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.354, allocations: 3.984 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.354, allocations: 3.938 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3542, allocations: 229.5 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3542, allocations: 4 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.3543, allocations: 4 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3543, allocations: 0 / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3543, allocations: 3.984 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3543, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3543, allocations: 0 / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.3546, allocations: 136.9 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.3547, allocations: 93.2 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3547, allocations: 11.94 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.3547, allocations: 7.938 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.3548, allocations: 15.92 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3548, allocations: 4 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002136/0.355, allocations: 196.6 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002698/0.3553, allocations: 43.88 kB / 1.329 GB, free: 10.96 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.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.002178/0.3575, allocations: 0.9992 MB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3577, allocations: 67.89 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3577, allocations: 7.938 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.3578, allocations: 27.98 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.3581, allocations: 41.23 kB / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.3608, allocations: 1.986 MB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3612, allocations: 0.7244 MB / 1.332 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.825e-05/0.3613, allocations: 29.06 kB / 1.332 GB, free: 7.098 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.3614, allocations: 47.42 kB / 1.332 GB, free: 7.051 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3614, allocations: 3.938 kB / 1.332 GB, free: 7.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.3913, allocations: 4.824 MB / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.778, allocations: 11.08 kB / 1.337 GB, free: 2.293 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.771918861893937]