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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001602/0.001602, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB 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: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6264, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003393/0.6298, allocations: 1.828 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.6316, allocations: 1.091 MB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.6317, allocations: 7.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.632, allocations: 47.86 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.6323, allocations: 75.73 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.633, allocations: 203.9 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.6332, allocations: 143.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6333, allocations: 25.11 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.6334, allocations: 63.77 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.6336, allocations: 67.69 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.6336, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.6337, allocations: 67.95 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.6338, allocations: 43.84 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.6339, allocations: 55.66 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.6342, allocations: 195.2 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6342, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6342, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.6342, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 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.0006276/0.6349, allocations: 0.4885 MB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6349, allocations: 8.031 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.6349, allocations: 38.73 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.635, allocations: 20.73 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.6353, allocations: 240.9 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.6353, allocations: 16.3 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6353, allocations: 7.938 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.6355, allocations: 96.16 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6355, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6356, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.6356, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.6357, allocations: 35.92 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.6362, allocations: 356.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.6364, allocations: 86.69 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.6365, allocations: 32.84 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.6365, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.6368, allocations: 91.36 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.6368, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003579/0.6372, allocations: 137.4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.6372, allocations: 110.8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.6375, allocations: 266.8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.6375, allocations: 29.7 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.6376, allocations: 112.1 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.6376, allocations: 19.8 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.6377, allocations: 29.66 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6378, allocations: 334.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.6379, allocations: 23.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.459e-05/0.638, allocations: 68.27 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.6382, allocations: 77.62 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6382, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002216/0.6384, allocations: 109.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6384, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6384, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.6384, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.6385, allocations: 11.94 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6386, allocations: 7.984 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.6386, allocations: 11.78 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.6387, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 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.0001304/0.6388, allocations: 147.6 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.6388, allocations: 15.81 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.6389, allocations: 17.58 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6389, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6389, allocations: 3.938 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6389, allocations: 3.938 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.6391, allocations: 221.6 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6391, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.6392, allocations: 11.98 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6392, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6392, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6392, allocations: 3.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6392, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.6395, allocations: 145.2 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.6395, allocations: 88.92 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.6396, allocations: 4.047 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.6396, allocations: 15.97 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.6397, allocations: 11.94 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.6397, allocations: 7.984 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001799/0.6399, allocations: 192.6 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6399, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002725/0.6402, allocations: 35.94 kB / 1.024 GB, free: 10.81 MB / 0.7794 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.001734/0.6419, allocations: 1.005 MB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.6422, allocations: 79.89 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6422, allocations: 0 / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.6423, allocations: 31.98 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.6426, allocations: 51.7 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.6449, allocations: 1.961 MB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.6452, allocations: 0.7239 MB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.435e-05/0.6453, allocations: 21.38 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6454, allocations: 51.41 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.6454, allocations: 0 / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4644/1.11, allocations: 4.494 MB / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.11, allocations: 250.6 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/3.17, allocations: 0 / 1.033 GB, free: 2.281 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/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) Reference file matches