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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004579/0.004579, allocations: 95.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 203.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.88 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2726, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002799/0.2754, allocations: 1.766 MB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.277, allocations: 1.107 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.2771, allocations: 4 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.2773, allocations: 59.67 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2775, allocations: 79.66 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2781, allocations: 230.6 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.2783, allocations: 139.6 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.2784, allocations: 33.08 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.2784, allocations: 55.78 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.2785, allocations: 63.75 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2786, allocations: 8 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.2787, allocations: 79.88 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.2788, allocations: 43.84 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.2789, allocations: 63.53 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.2792, allocations: 191.3 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2792, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2792, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2792, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 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.000593/0.2798, allocations: 0.496 MB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2799, allocations: 8.031 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.2799, allocations: 38.73 kB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.2799, allocations: 16.84 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.2802, allocations: 252.9 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2803, allocations: 8.359 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2803, allocations: 15.92 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2805, allocations: 88.17 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2805, allocations: 4 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2805, allocations: 4 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2805, allocations: 0 / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.2806, allocations: 35.98 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2811, allocations: 352.7 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2813, allocations: 82.66 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.2814, allocations: 36.84 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2814, allocations: 96 / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.2816, allocations: 91.25 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 3.207e-06/0.2816, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003266/0.2819, allocations: 141.7 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.282, allocations: 102.8 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2823, allocations: 270.9 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2823, allocations: 29.7 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.2824, allocations: 112.1 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.2824, allocations: 31.72 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.2825, allocations: 21.72 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2826, allocations: 330.8 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.2827, allocations: 27.98 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2828, allocations: 76.2 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2829, allocations: 73.75 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2829, allocations: 0 / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.2832, allocations: 117.5 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2832, allocations: 5.719 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2832, allocations: 0 / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2832, allocations: 4 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.2833, allocations: 19.95 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2833, allocations: 0 / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.2834, allocations: 11.89 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2834, allocations: 4 kB / 1.227 GB, free: 7.23 MB / 0.9825 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.0001237/0.2835, allocations: 143.8 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.2835, allocations: 11.91 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.2836, allocations: 21.39 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2836, allocations: 4 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2836, allocations: 4 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2836, allocations: 3.938 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.2838, allocations: 221.6 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2838, allocations: 0 / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.2839, allocations: 7.984 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2839, allocations: 4 kB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2839, allocations: 0 / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2839, allocations: 0 / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2839, allocations: 3.938 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.2842, allocations: 148.9 kB / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.2842, allocations: 96.95 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.2843, allocations: 4.047 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.2843, allocations: 7.969 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2844, allocations: 11.94 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2844, allocations: 7.984 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001792/0.2846, allocations: 192.6 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2846, allocations: 0 / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002235/0.2848, allocations: 31.94 kB / 1.228 GB, free: 6.223 MB / 0.9825 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.001791/0.2866, allocations: 1.001 MB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2868, allocations: 67.95 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2868, allocations: 0 / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.2869, allocations: 43.98 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2872, allocations: 52.64 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.2893, allocations: 1.958 MB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2897, allocations: 0.7201 MB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.719e-05/0.2897, allocations: 25.06 kB / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.2898, allocations: 47.42 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2898, allocations: 3.938 kB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.378/1.668, allocations: 4.702 MB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/12.31, allocations: 7.188 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches