Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 443.5 MB / 0.7304 GB, free: 14.11 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 75.88 kB / 1.059 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003084/0.2831, allocations: 1.792 MB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2849, allocations: 1.12 MB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.285, allocations: 7.938 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.2852, allocations: 51.73 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.2855, allocations: 83.66 kB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.2861, allocations: 231.1 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.2863, allocations: 147.6 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.2864, allocations: 13.11 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2865, allocations: 63.7 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2867, allocations: 75.67 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2867, allocations: 8 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.2869, allocations: 75.94 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.2869, allocations: 35.84 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.287, allocations: 59.66 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2873, allocations: 203.4 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2873, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2873, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2873, allocations: 4 kB / 1.219 GB, free: 11.98 MB / 0.9669 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.0006509/0.288, allocations: 500 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.288, allocations: 15.97 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.288, allocations: 42.73 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2881, allocations: 16.84 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.2884, allocations: 253 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2884, allocations: 384 / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.2885, allocations: 7.938 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.2887, allocations: 100.2 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2887, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2887, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2887, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2888, allocations: 27.98 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.2893, allocations: 352.7 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2895, allocations: 90.69 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.2896, allocations: 36.84 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2896, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2898, allocations: 83.36 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2898, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000361/0.2902, allocations: 141.7 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.2902, allocations: 106.8 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.2905, allocations: 266.9 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2905, allocations: 33.7 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.2906, allocations: 112.1 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2906, allocations: 19.86 kB / 1.222 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.2907, allocations: 29.69 kB / 1.222 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2908, allocations: 330.8 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.2909, allocations: 27.94 kB / 1.222 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.291, allocations: 76.2 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2911, allocations: 69.77 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.2911, allocations: 3.984 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002204/0.2913, allocations: 117.7 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2914, allocations: 4 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2914, allocations: 3.938 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2914, allocations: 4.031 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.2915, allocations: 12 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2915, allocations: 3.984 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.2915, allocations: 11.88 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.2915, allocations: 4 kB / 1.222 GB, free: 8.844 MB / 0.9669 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.0001243/0.2917, allocations: 141.4 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.2917, allocations: 19.86 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.292, allocations: 127 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.292, allocations: 8 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.292, allocations: 0 / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.292, allocations: 3.938 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.2922, allocations: 217.6 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2922, allocations: 3.984 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.2922, allocations: 8 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2922, allocations: 3.984 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2922, allocations: 0 / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2922, allocations: 0 / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2922, allocations: 0 / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.2925, allocations: 152.9 kB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.2925, allocations: 97.02 kB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2925, allocations: 0 / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.2926, allocations: 4 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2926, allocations: 11.92 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.2927, allocations: 4 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001848/0.2928, allocations: 200.4 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2928, allocations: 4 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000235/0.2931, allocations: 31.94 kB / 1.223 GB, free: 7.727 MB / 0.9669 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.001824/0.2949, allocations: 1.005 MB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2951, allocations: 71.94 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2951, allocations: 4.062 kB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.2952, allocations: 39.91 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2955, allocations: 33.75 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2977, allocations: 1.943 MB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.298, allocations: 0.7201 MB / 1.227 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.116e-05/0.2981, allocations: 25.38 kB / 1.227 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.2982, allocations: 47.41 kB / 1.227 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.2982, allocations: 3.938 kB / 1.227 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3257, allocations: 4.719 MB / 1.232 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.452, allocations: 19.05 kB / 1.232 GB, free: 15.18 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.u from file Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.793515097997442]