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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 1.056 GB, free: 2.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 160.7 MB / 1.213 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003581/0.343, allocations: 1.781 MB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3451, allocations: 1.116 MB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3452, allocations: 3.938 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.3456, allocations: 51.73 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3459, allocations: 79.67 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.3466, allocations: 231.3 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.3468, allocations: 143.6 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3469, allocations: 13.12 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3471, allocations: 67.69 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3472, allocations: 71.73 kB / 1.216 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3472, allocations: 8 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.3474, allocations: 67.89 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/0.3475, allocations: 43.83 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.3476, allocations: 63.67 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.3479, allocations: 203.4 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3479, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.348, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.348, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 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.000916/0.3489, allocations: 0.4922 MB / 1.217 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3489, allocations: 8.031 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.349, allocations: 38.73 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.349, allocations: 16.84 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.3494, allocations: 257 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3494, allocations: 384 / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3495, allocations: 11.94 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3497, allocations: 92.22 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3497, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3497, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.3497, allocations: 7.938 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3498, allocations: 31.98 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.3504, allocations: 360.7 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3507, allocations: 94.62 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.3508, allocations: 24.84 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3508, allocations: 7.984 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.351, allocations: 83.38 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.351, allocations: 0 / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000424/0.3514, allocations: 145.4 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.3515, allocations: 110.8 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3518, allocations: 262.9 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3518, allocations: 25.7 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.3519, allocations: 112.1 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3519, allocations: 27.84 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.352, allocations: 29.72 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3522, allocations: 330.8 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.3522, allocations: 23.98 kB / 1.219 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3523, allocations: 68.28 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3525, allocations: 73.94 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3525, allocations: 4 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002481/0.3528, allocations: 117.5 kB / 1.219 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3528, allocations: 8 kB / 1.219 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3528, allocations: 0 / 1.219 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3528, allocations: 0 / 1.219 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3529, allocations: 12 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3529, allocations: 3.984 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.353, allocations: 23.86 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.353, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 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.0001564/0.3532, allocations: 138.5 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3532, allocations: 15.91 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.3532, allocations: 25.39 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3533, allocations: 0 / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3533, allocations: 0 / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3533, allocations: 3.938 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.3535, allocations: 217.6 kB / 1.22 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3535, allocations: 4 kB / 1.22 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.3536, allocations: 11.92 kB / 1.22 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3536, allocations: 0 / 1.22 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3536, allocations: 4 kB / 1.22 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3536, allocations: 4.188 kB / 1.22 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3536, allocations: 0 / 1.22 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3539, allocations: 144.9 kB / 1.22 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.3539, allocations: 97.02 kB / 1.22 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.354, allocations: 4 kB / 1.22 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.354, allocations: 11.98 kB / 1.22 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.3541, allocations: 7.938 kB / 1.22 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3541, allocations: 3.984 kB / 1.22 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002087/0.3543, allocations: 200.2 kB / 1.22 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3543, allocations: 0 / 1.22 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002688/0.3546, allocations: 35.94 kB / 1.22 GB, free: 9.34 MB / 0.9669 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.002088/0.3567, allocations: 1.002 MB / 1.221 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3569, allocations: 67.89 kB / 1.221 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3569, allocations: 0 / 1.221 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.357, allocations: 35.97 kB / 1.221 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3573, allocations: 42.7 kB / 1.222 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.36, allocations: 1.952 MB / 1.223 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3604, allocations: 0.7162 MB / 1.224 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.3605, allocations: 33.05 kB / 1.224 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3606, allocations: 59.34 kB / 1.224 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of SimCode: time 9.32e-07/0.3606, allocations: 0 / 1.224 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3955, allocations: 4.717 MB / 1.229 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/8.965, allocations: 10.17 kB / 1.229 GB, free: 0.8125 MB / 0.9669 GB " [Timeout remaining time 291] (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 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.180082617327571]