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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.468/2.468, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5792, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003117/0.5823, allocations: 1.773 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.584, allocations: 1.096 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.5841, allocations: 7.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.5844, allocations: 59.73 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.5847, allocations: 79.67 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.5854, allocations: 227 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.5856, allocations: 139.6 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.5857, allocations: 25.11 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.5858, allocations: 63.77 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.5859, allocations: 63.69 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.586, allocations: 8 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.5861, allocations: 71.89 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.5862, allocations: 43.84 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.5863, allocations: 51.67 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.5866, allocations: 201.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5866, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5866, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.5866, allocations: 0 / 1.021 GB, free: 14.53 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.0006089/0.5873, allocations: 488.3 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5873, allocations: 12.03 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.5873, allocations: 30.75 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.5874, allocations: 16.75 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.5877, allocations: 256.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5877, allocations: 4.375 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.5877, allocations: 7.938 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.5879, allocations: 96.17 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5879, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.588, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.588, allocations: 7.984 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.5881, allocations: 39.91 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.5886, allocations: 356.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.5889, allocations: 82.77 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.589, allocations: 36.78 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.589, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.5892, allocations: 87.38 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.053e-06/0.5892, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003683/0.5896, allocations: 141.4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.5897, allocations: 106.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.5899, allocations: 266.8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.59, allocations: 37.69 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.59, allocations: 112.1 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.5901, allocations: 19.75 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.5901, allocations: 33.64 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5902, allocations: 326.8 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.5903, allocations: 31.92 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.5904, allocations: 68.27 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.5906, allocations: 73.94 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5906, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002155/0.5908, allocations: 113.5 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5908, allocations: 4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5908, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5909, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.591, allocations: 19.92 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.591, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.591, allocations: 11.84 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.5911, allocations: 4 kB / 1.024 GB, free: 11.41 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.0001292/0.5912, allocations: 147 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.5912, allocations: 15.81 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.5913, allocations: 17.41 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.5913, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5913, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5913, allocations: 11.92 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.5915, allocations: 221.5 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5915, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.5915, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5916, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5916, allocations: 7.984 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5916, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5916, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.5918, allocations: 152.8 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.5919, allocations: 92.91 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.5919, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.592, allocations: 8 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.592, allocations: 19.92 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.5921, allocations: 4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001645/0.5922, allocations: 196.4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5922, allocations: 4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002506/0.5925, allocations: 28 kB / 1.025 GB, free: 10.4 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.001328/0.5938, allocations: 0.9975 MB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.5941, allocations: 71.89 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5941, allocations: 0 / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.5942, allocations: 39.98 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.5945, allocations: 59.55 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.5966, allocations: 1.943 MB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5969, allocations: 0.7317 MB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.729e-05/0.597, allocations: 21.08 kB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.5971, allocations: 43.42 kB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5971, allocations: 4 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.6198, allocations: 4.595 MB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/8.017, allocations: 7.953 kB / 1.033 GB, free: 2 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