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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004975/0.004975, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001793/0.001793, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 63.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6492, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002831/0.652, allocations: 1.778 MB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.6536, allocations: 1.104 MB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.6537, allocations: 4 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.6539, allocations: 51.75 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.6542, allocations: 79.66 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.6547, allocations: 231.8 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.6549, allocations: 143.6 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.655, allocations: 21.11 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.865e-05/0.6551, allocations: 59.77 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/0.6552, allocations: 67.75 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.6552, allocations: 8 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.6554, allocations: 67.95 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.6555, allocations: 47.77 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.6555, allocations: 63.61 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.6558, allocations: 195.1 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.6558, allocations: 4 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.123e-06/0.6558, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.6558, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 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.0005879/0.6564, allocations: 0.4921 MB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.6565, allocations: 8.922 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.6565, allocations: 38.75 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.6566, allocations: 12.84 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.6569, allocations: 261 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.6569, allocations: 8.359 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.6569, allocations: 7.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.6571, allocations: 96.17 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6571, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.6571, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6571, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.6573, allocations: 35.97 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.6577, allocations: 356.7 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.658, allocations: 86.66 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.658, allocations: 32.84 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.6581, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.6582, allocations: 91.41 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.6582, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000334/0.6586, allocations: 149.5 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.6587, allocations: 106.8 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.6589, allocations: 266.9 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.659, allocations: 25.7 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.659, allocations: 120.1 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.6591, allocations: 31.78 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.6591, allocations: 21.72 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6593, allocations: 334.8 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.6593, allocations: 27.92 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.6594, allocations: 64.28 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.6596, allocations: 73.69 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6596, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.6598, allocations: 117.5 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6598, allocations: 4 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6598, allocations: 0 / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.6599, allocations: 4 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.6599, allocations: 15.98 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.66, allocations: 4 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.66, allocations: 11.91 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.66, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9044 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.0001191/0.6602, allocations: 141.8 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.6602, allocations: 19.86 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.6602, allocations: 17.39 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.6603, allocations: 4 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6603, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6603, allocations: 3.938 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.6605, allocations: 221.5 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6605, allocations: 4 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.6606, allocations: 11.98 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6606, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6606, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6606, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6606, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.6609, allocations: 152.8 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.6609, allocations: 89.02 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.661, allocations: 15.98 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.661, allocations: 0 / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.6611, allocations: 15.92 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.6611, allocations: 4 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002126/0.6613, allocations: 196.4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6613, allocations: 192 / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002402/0.6615, allocations: 35.92 kB / 1.174 GB, free: 11.67 MB / 0.9044 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.1129/0.7745, allocations: 0.9989 MB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.7747, allocations: 67.95 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7747, allocations: 0 / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.7748, allocations: 39.92 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.7751, allocations: 45.95 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.7771, allocations: 1.953 MB / 1.177 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.7775, allocations: 0.7239 MB / 1.177 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.941e-05/0.7776, allocations: 25.08 kB / 1.177 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.7776, allocations: 47.42 kB / 1.177 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.7776, allocations: 0 / 1.177 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.565/2.343, allocations: 4.698 MB / 1.182 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.24/11.58, allocations: 15.88 kB / 1.182 GB, free: 3.16 MB / 0.9044 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=400 --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