Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_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.001612/0.001617, 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.001859/0.001859, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7424 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 65.77 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2404, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002732/0.2432, allocations: 1.778 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2448, allocations: 1.099 MB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.2449, allocations: 8 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2451, allocations: 59.67 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.2453, allocations: 75.67 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.2458, allocations: 222.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.246, allocations: 147.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.605e-05/0.2461, allocations: 25.09 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.2462, allocations: 63.77 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.2463, allocations: 63.75 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2463, allocations: 7.938 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.2465, allocations: 67.91 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.2465, allocations: 43.89 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.2466, allocations: 55.61 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.2469, allocations: 195.7 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.2469, allocations: 8 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2469, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.2469, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 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.0006086/0.2475, allocations: 492.2 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2475, allocations: 12.03 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.2476, allocations: 34.75 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.2476, allocations: 16.75 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.248, allocations: 248.9 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.248, allocations: 4.375 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.248, allocations: 11.94 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.2482, allocations: 92.17 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.2483, allocations: 3.938 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2483, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.2483, allocations: 8 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.2484, allocations: 31.97 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.2488, allocations: 364.5 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.249, allocations: 86.66 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.2491, allocations: 32.84 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2491, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2493, allocations: 87.41 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003153/0.2497, allocations: 145.4 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.2497, allocations: 102.8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.25, allocations: 262.9 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.25, allocations: 37.64 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.2501, allocations: 112.1 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2501, allocations: 23.7 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.2502, allocations: 33.64 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2503, allocations: 326.8 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.2504, allocations: 27.98 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.2505, allocations: 64.28 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2506, allocations: 73.69 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2506, allocations: 0 / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.2508, allocations: 117.4 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.2509, allocations: 5.094 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2509, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/0.2509, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.251, allocations: 15.98 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.251, allocations: 3.938 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.251, allocations: 11.88 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2511, allocations: 8.031 kB / 1.071 GB, free: 7.215 MB / 0.8262 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.0001119/0.2512, allocations: 141.8 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.2512, allocations: 15.81 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.2512, allocations: 21.39 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2513, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.2513, allocations: 4 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2513, allocations: 4.125 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.2515, allocations: 221.6 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2515, allocations: 7.922 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.2515, allocations: 8 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2515, allocations: 48 / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2515, allocations: 7.984 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2516, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2516, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.2518, allocations: 152.8 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.2519, allocations: 88.92 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.2519, allocations: 11.92 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.252, allocations: 4 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.252, allocations: 15.92 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.252, allocations: 4 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001728/0.2522, allocations: 192.6 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2522, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002208/0.2524, allocations: 35.98 kB / 1.072 GB, free: 6.203 MB / 0.8262 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.001762/0.2542, allocations: 1.001 MB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.2544, allocations: 67.95 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2544, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.2545, allocations: 43.92 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.2547, allocations: 45.52 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2567, allocations: 1.937 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2571, allocations: 0.7201 MB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.964e-05/0.2571, allocations: 21.08 kB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.2572, allocations: 47.42 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of SimCode: time 1.784e-06/0.2572, allocations: 0 / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.89/2.147, allocations: 4.606 MB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.365/11.51, allocations: 7.719 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches