Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_9_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.006371/0.006371, allocations: 98.36 kB / 15.73 MB, free: 6.035 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.001185/0.001185, allocations: 194.3 kB / 16.67 MB, free: 5.965 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.84 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2992, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003349/0.3026, allocations: 1.76 MB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3046, allocations: 1.109 MB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3047, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.3051, allocations: 55.67 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.3055, allocations: 79.67 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.3062, allocations: 235.4 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.3064, allocations: 147.6 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3065, allocations: 21.11 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.3066, allocations: 63.75 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3068, allocations: 63.75 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3068, allocations: 8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.307, allocations: 71.89 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.3071, allocations: 47.83 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.3071, allocations: 59.61 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.3075, allocations: 190.3 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3075, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3075, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3075, allocations: 3.938 kB / 1.091 GB, free: 14.08 MB / 0.8575 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.0007095/0.3082, allocations: 497.1 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3083, allocations: 8.031 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.3083, allocations: 38.73 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.3084, allocations: 16.75 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3088, allocations: 248.9 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3089, allocations: 8.375 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3089, allocations: 7.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.3091, allocations: 100.1 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3091, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3092, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3092, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3094, allocations: 35.92 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.31, allocations: 364.6 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3102, allocations: 82.66 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/0.3103, allocations: 36.88 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3104, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.3106, allocations: 91.3 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.3106, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004593/0.3111, allocations: 133.5 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.3112, allocations: 110.8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.3115, allocations: 266.9 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3116, allocations: 29.7 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3117, allocations: 116.1 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3117, allocations: 23.66 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.3118, allocations: 25.7 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.312, allocations: 334.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.3121, allocations: 20 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3122, allocations: 68.27 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3124, allocations: 73.64 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3124, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002884/0.3127, allocations: 117.5 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3127, allocations: 5.562 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3127, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3128, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3129, allocations: 11.94 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.3129, allocations: 7.984 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.313, allocations: 12.16 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.313, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 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.0001662/0.3132, allocations: 149.8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3132, allocations: 15.81 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.3133, allocations: 17.39 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3133, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3133, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3133, allocations: 3.938 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3135, allocations: 217.6 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3136, allocations: 4 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.3136, allocations: 8 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3136, allocations: 3.984 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3136, allocations: 3.938 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3136, allocations: 0 / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3136, allocations: 0 / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3139, allocations: 152.8 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.314, allocations: 88.92 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3141, allocations: 8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.3141, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.3142, allocations: 15.92 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3142, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001686/0.3144, allocations: 196.6 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3144, allocations: 0 / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002703/0.3147, allocations: 35.94 kB / 1.095 GB, free: 9.949 MB / 0.8575 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.001557/0.3162, allocations: 0.9965 MB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.3165, allocations: 71.94 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3165, allocations: 0 / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3166, allocations: 47.91 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.317, allocations: 39.91 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3192, allocations: 1.94 MB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3195, allocations: 0.7239 MB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.655e-05/0.3196, allocations: 29.38 kB / 1.099 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.3197, allocations: 47.41 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3197, allocations: 0 / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3404, allocations: 4.7 MB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.892, allocations: 11.98 kB / 1.103 GB, free: 1.449 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches