Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_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.007291/0.007291, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001986/0.001986, allocations: 201.2 kB / 16.68 MB, free: 5.973 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 482.6 MB / 0.7551 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.336, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003486/0.3396, allocations: 1.768 MB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3415, allocations: 1.107 MB / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.3416, allocations: 0 / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3419, allocations: 63.67 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.3422, allocations: 75.67 kB / 1.245 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.3429, allocations: 222.7 kB / 1.245 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3431, allocations: 151.6 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3433, allocations: 17.12 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3434, allocations: 63.75 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3435, allocations: 63.75 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.3436, allocations: 8 kB / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.3437, allocations: 75.89 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.3438, allocations: 39.84 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.3439, allocations: 55.67 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3442, allocations: 207.1 kB / 1.246 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3443, allocations: 4 kB / 1.246 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3443, allocations: 0 / 1.246 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3443, allocations: 0 / 1.246 GB, free: 5.918 MB / 0.9981 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.0006599/0.3449, allocations: 0.4883 MB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.345, allocations: 12.03 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.345, allocations: 34.75 kB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3451, allocations: 20.84 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.3454, allocations: 253 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3455, allocations: 4.375 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3455, allocations: 7.875 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3457, allocations: 96.22 kB / 1.247 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3457, allocations: 0 / 1.247 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3457, allocations: 4 kB / 1.247 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.3458, allocations: 7.984 kB / 1.247 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3459, allocations: 31.92 kB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.3464, allocations: 348.8 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3466, allocations: 90.69 kB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.3467, allocations: 32.84 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3468, allocations: 7.984 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3469, allocations: 75.39 kB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.347, allocations: 3.938 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003702/0.3473, allocations: 145.5 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.3474, allocations: 106.8 kB / 1.247 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3477, allocations: 270.9 kB / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3478, allocations: 37.64 kB / 1.248 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.3478, allocations: 112.1 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3479, allocations: 23.8 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.3479, allocations: 29.7 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3481, allocations: 322.8 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.3482, allocations: 27.98 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3483, allocations: 72.27 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3485, allocations: 73.62 kB / 1.248 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3485, allocations: 0 / 1.248 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002199/0.3487, allocations: 113.9 kB / 1.248 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3487, allocations: 4 kB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3487, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3487, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.3488, allocations: 19.92 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3489, allocations: 4.031 kB / 1.248 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.3489, allocations: 11.94 kB / 1.248 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.349, allocations: 7.984 kB / 1.248 GB, free: 2.781 MB / 0.9981 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.0001284/0.3491, allocations: 134.8 kB / 1.249 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3491, allocations: 19.86 kB / 1.249 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.3492, allocations: 21.41 kB / 1.249 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.3492, allocations: 4 kB / 1.249 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3492, allocations: 7.984 kB / 1.249 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3492, allocations: 7.938 kB / 1.249 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.3494, allocations: 217.6 kB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3495, allocations: 0 / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.3495, allocations: 4 kB / 1.249 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3495, allocations: 0 / 1.249 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3495, allocations: 8 kB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3495, allocations: 0 / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3495, allocations: 7.922 kB / 1.249 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3498, allocations: 141 kB / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.3499, allocations: 96.94 kB / 1.249 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3499, allocations: 8.125 kB / 1.249 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.35, allocations: 4 kB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.35, allocations: 15.86 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.35, allocations: 4 kB / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001923/0.3502, allocations: 196.6 kB / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3502, allocations: 0 / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002377/0.3505, allocations: 31.94 kB / 1.249 GB, free: 1.77 MB / 0.9981 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.001961/0.3525, allocations: 0.9972 MB / 1.25 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3527, allocations: 67.97 kB / 1.25 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3527, allocations: 3.938 kB / 1.25 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.3528, allocations: 39.98 kB / 1.25 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3531, allocations: 46.17 kB / 1.25 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5629/0.916, allocations: 1.942 MB / 1.252 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.9162, allocations: 0.7223 MB / 1.253 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.9163, allocations: 26.16 kB / 1.253 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.9164, allocations: 47.69 kB / 1.253 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.9164, allocations: 0 / 1.253 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.044, allocations: 4.712 MB / 1.258 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/9.834, allocations: 4.625 kB / 1.258 GB, free: 12.21 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches