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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001212/0.001212, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 63.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6051, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002752/0.6079, allocations: 1.832 MB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.6094, allocations: 1.096 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.6095, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.6098, allocations: 51.81 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.61, allocations: 75.78 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.6105, allocations: 199.3 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.6107, allocations: 135.6 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.6108, allocations: 21.11 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.6109, allocations: 63.64 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.611, allocations: 63.75 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.611, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.6111, allocations: 63.89 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.6112, allocations: 31.91 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.6113, allocations: 51.61 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.6115, allocations: 189.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6115, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6115, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.6116, allocations: 0 / 1.02 GB, free: 14.92 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.0005866/0.6121, allocations: 0.4924 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6122, allocations: 8.031 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.6122, allocations: 34.75 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.6123, allocations: 16.75 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.6125, allocations: 248.9 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.6125, allocations: 4.375 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.6126, allocations: 11.94 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.6128, allocations: 96.17 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.6128, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6128, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.6128, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.6129, allocations: 35.97 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.6134, allocations: 356.6 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.6136, allocations: 90.66 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.6137, allocations: 28.84 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6137, allocations: 7.984 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.6139, allocations: 91.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.6139, allocations: 3.938 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003344/0.6142, allocations: 141.4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6143, allocations: 106.8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.6145, allocations: 262.9 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6146, allocations: 25.7 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.6146, allocations: 116.1 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.6147, allocations: 23.73 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.6147, allocations: 25.72 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.6148, allocations: 334.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.6149, allocations: 27.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/0.615, allocations: 68.28 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.6151, allocations: 65.69 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6152, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.6154, allocations: 125.3 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6154, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6154, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.6154, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.6155, allocations: 15.98 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6155, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.6156, allocations: 7.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.6156, allocations: 0 / 1.023 GB, free: 11.8 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.0001167/0.6157, allocations: 147.5 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.6158, allocations: 19.84 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.6158, allocations: 21.39 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.6158, allocations: 0 / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.6158, allocations: 0 / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6159, allocations: 3.938 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.616, allocations: 225.5 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.616, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.6161, allocations: 7.984 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6161, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.6161, allocations: 192 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6161, allocations: 7.938 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6161, allocations: 7.938 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.6164, allocations: 144.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.6164, allocations: 96.92 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.6165, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.6165, allocations: 7.984 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.6166, allocations: 15.92 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.6166, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001565/0.6168, allocations: 196.6 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6168, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002433/0.617, allocations: 39.98 kB / 1.024 GB, free: 10.79 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.001286/0.6183, allocations: 0.995 MB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.6185, allocations: 75.94 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6185, allocations: 0 / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.6186, allocations: 35.92 kB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.6189, allocations: 43.55 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.6209, allocations: 1.953 MB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.6211, allocations: 0.7243 MB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.6212, allocations: 29.34 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.6213, allocations: 51.42 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6213, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.6351, allocations: 4.4 MB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.6353, allocations: 244.9 kB / 1.032 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.358, allocations: 0 / 1.032 GB, free: 2.363 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