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: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, 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.001351/0.001351, allocations: 195.9 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.744/2.744, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7088, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004049/0.7129, allocations: 1.769 MB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.7152, allocations: 1.107 MB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.7154, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.7158, allocations: 55.69 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.7162, allocations: 87.64 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.7169, allocations: 220.5 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.7172, allocations: 143.6 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.7173, allocations: 21.11 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.7175, allocations: 59.77 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.7176, allocations: 67.75 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.7176, allocations: 8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.7178, allocations: 71.89 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.7179, allocations: 39.84 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.718, allocations: 55.61 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.7184, allocations: 197.4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7184, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7184, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7184, allocations: 0 / 1.021 GB, free: 14.65 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.0009029/0.7193, allocations: 0.4924 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7194, allocations: 8.031 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.7195, allocations: 16.75 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.7198, allocations: 252.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.7199, allocations: 4.375 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.7199, allocations: 8.109 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.7202, allocations: 100.2 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7202, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.7202, allocations: 8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.7202, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.7204, allocations: 39.91 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.721, allocations: 352.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.7212, allocations: 82.67 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.7213, allocations: 36.84 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.7214, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.7216, allocations: 79.41 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.7216, allocations: 0 / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004006/0.722, allocations: 149.4 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.7221, allocations: 102.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.7225, allocations: 270.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.7225, allocations: 29.69 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.7226, allocations: 116.1 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.7226, allocations: 15.75 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.7227, allocations: 37.58 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7229, allocations: 330.8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.723, allocations: 27.98 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.7231, allocations: 68.27 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.7233, allocations: 73.69 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.7233, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002489/0.7235, allocations: 109.4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7236, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7236, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7236, allocations: 8.031 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.7237, allocations: 15.98 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.7237, allocations: 3.938 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.7238, allocations: 11.84 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.7238, allocations: 4 kB / 1.024 GB, free: 11.56 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.0001458/0.724, allocations: 147 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.724, allocations: 11.81 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.7241, allocations: 17.41 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7241, allocations: 8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7241, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7241, allocations: 7.922 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.7244, allocations: 225.5 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7244, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.7244, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.7244, allocations: 4.188 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.7244, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7245, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7245, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.7248, allocations: 152.8 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.7248, allocations: 92.91 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.7249, allocations: 8 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.7249, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.725, allocations: 7.984 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.725, allocations: 11.94 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002122/0.7252, allocations: 192.6 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7252, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002675/0.7255, allocations: 35.98 kB / 1.025 GB, free: 10.56 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.001597/0.7271, allocations: 429.6 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.7274, allocations: 79.89 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7274, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.7275, allocations: 35.98 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.7278, allocations: 43.02 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.7284, allocations: 287 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.7288, allocations: 0.7279 MB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.7289, allocations: 21.08 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.729, allocations: 19.44 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of SimCode: time 4.3e-07/0.729, allocations: 0 / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of Templates: time 0.006877/0.7359, allocations: 2.543 MB / 1.029 GB, free: 6.523 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches