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.0008212/0.0008212, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005368/0.005368, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.537/2.537, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6035, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002291/0.6059, allocations: 1.482 MB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.6076, allocations: 1.077 MB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.6077, allocations: 3.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.608, allocations: 43.88 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.6083, allocations: 75.73 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.6089, allocations: 203.3 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.6091, allocations: 135.6 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.6092, allocations: 13.12 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.6094, allocations: 55.75 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.6095, allocations: 67.69 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.6095, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.6097, allocations: 59.97 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.6098, allocations: 43.83 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.6099, allocations: 69.39 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.6102, allocations: 193.5 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6102, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6102, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6102, allocations: 0 / 1.027 GB, free: 12.34 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.0006208/0.6108, allocations: 468.5 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6109, allocations: 12.03 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.6109, allocations: 38.73 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.611, allocations: 16.75 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.6112, allocations: 252.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6113, allocations: 4.375 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.6113, allocations: 3.938 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.6115, allocations: 104.2 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6115, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6115, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.6116, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6117, allocations: 31.92 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.6122, allocations: 364.6 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.6124, allocations: 94.69 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.6125, allocations: 32.84 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.6125, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.6127, allocations: 79.38 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.6127, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000346/0.6131, allocations: 145.4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.6131, allocations: 110.8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.6134, allocations: 266.9 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.6134, allocations: 25.7 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.6135, allocations: 116.1 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.6135, allocations: 19.66 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.6136, allocations: 21.7 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6137, allocations: 326.8 kB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.6138, allocations: 27.92 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.6139, allocations: 76.27 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.614, allocations: 69.64 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.614, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000223/0.6143, allocations: 109.8 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6143, allocations: 8 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6143, allocations: 7.969 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6143, allocations: 3.984 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.6144, allocations: 12 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6144, allocations: 4.062 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.6145, allocations: 7.938 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.6145, allocations: 7.984 kB / 1.029 GB, free: 9.242 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.0001255/0.6146, allocations: 140.8 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.6147, allocations: 16 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.6147, allocations: 21.41 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.6147, allocations: 7.922 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6147, allocations: 0 / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6148, allocations: 7.938 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.6149, allocations: 221.5 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.615, allocations: 0 / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.615, allocations: 7.938 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.615, allocations: 0 / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.615, allocations: 4 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.615, allocations: 0 / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.615, allocations: 3.984 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.6153, allocations: 140.8 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.6153, allocations: 100.9 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.6154, allocations: 0 / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.6154, allocations: 8 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.6155, allocations: 11.92 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6155, allocations: 7.984 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001688/0.6157, allocations: 196.6 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6157, allocations: 0 / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002555/0.616, allocations: 35.91 kB / 1.03 GB, free: 8.242 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.001327/0.6173, allocations: 0.9917 MB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.6175, allocations: 71.91 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6175, allocations: 0 / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.6176, allocations: 39.95 kB / 1.031 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.6179, allocations: 54.36 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.62, allocations: 1.955 MB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6203, allocations: 0.7282 MB / 1.034 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.968e-05/0.6204, allocations: 21.38 kB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.6205, allocations: 47.42 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6205, allocations: 0 / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.6348, allocations: 4.189 MB / 1.038 GB, free: 316 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.635, allocations: 245.2 kB / 1.038 GB, free: 48 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.455, allocations: 3.938 kB / 1.038 GB, free: 44 kB / 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