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.002306/0.002306, allocations: 110 kB / 18.93 MB, free: 2.945 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.003235/0.003235, allocations: 189.9 kB / 22.23 MB, free: 5.16 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.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8128, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003423/0.8162, allocations: 1.805 MB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.8182, allocations: 1.132 MB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.753e-05/0.8183, allocations: 6.469 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.8186, allocations: 61.95 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.8189, allocations: 82.12 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.8195, allocations: 226.6 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.8198, allocations: 142.2 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8199, allocations: 19.67 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.82, allocations: 65.48 kB / 1.222 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.8201, allocations: 68.67 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.8201, allocations: 7.125 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.8203, allocations: 82.22 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.8204, allocations: 45.73 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.8205, allocations: 56.3 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.8208, allocations: 204.8 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8209, allocations: 9.062 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8209, allocations: 0 / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8209, allocations: 0 / 1.222 GB, free: 0.8125 MB / 0.92 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.0007624/0.8216, allocations: 494.7 kB / 1.223 GB, free: 328 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.8217, allocations: 13.06 kB / 1.223 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.8217, allocations: 16.59 kB / 1.223 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.8221, allocations: 256.7 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.8221, allocations: 6.562 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.8222, allocations: 11.23 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.8224, allocations: 95.48 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8224, allocations: 1 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8224, allocations: 1.031 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.8224, allocations: 2.219 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.8225, allocations: 33.52 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.8232, allocations: 356.6 kB / 1.224 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.8234, allocations: 82.25 kB / 1.224 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.8235, allocations: 37.58 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.8235, allocations: 2.094 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.8237, allocations: 79.03 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.8237, allocations: 4 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003838/0.8241, allocations: 144.3 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.8242, allocations: 103.9 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.8245, allocations: 260.6 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.8245, allocations: 30.77 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.8246, allocations: 116 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.8246, allocations: 27.8 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.8247, allocations: 26.81 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8248, allocations: 339.8 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.8249, allocations: 21.64 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.825, allocations: 69.34 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.8252, allocations: 69.91 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8252, allocations: 4 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002354/0.8254, allocations: 116.9 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8254, allocations: 4.5 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8254, allocations: 1.281 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.8255, allocations: 5.281 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.8256, allocations: 13.64 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8256, allocations: 1.062 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.8256, allocations: 11.22 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.8256, allocations: 3.25 kB / 1.225 GB, free: 14.32 MB / 0.9356 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.000154/0.8258, allocations: 152.4 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.8258, allocations: 28.23 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.8261, allocations: 119.8 kB / 1.225 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8261, allocations: 2.156 kB / 1.225 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8261, allocations: 0 / 1.225 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.8261, allocations: 5.062 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.8264, allocations: 218.2 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8264, allocations: 0 / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.8264, allocations: 12.86 kB / 1.226 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8264, allocations: 4.781 kB / 1.226 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.8264, allocations: 5 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8264, allocations: 1.062 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.8264, allocations: 3.938 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.8267, allocations: 139.2 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.8268, allocations: 95.52 kB / 1.226 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.8268, allocations: 1.094 kB / 1.226 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.8269, allocations: 14.17 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.8269, allocations: 7.891 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.827, allocations: 6.875 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002221/0.8272, allocations: 196.4 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8272, allocations: 0 / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002687/0.8274, allocations: 36.73 kB / 1.226 GB, free: 13.45 MB / 0.9356 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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.001587/0.829, allocations: 420.8 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.8293, allocations: 70.22 kB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8293, allocations: 3.938 kB / 1.227 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.8294, allocations: 31.67 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.8297, allocations: 49.23 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.8303, allocations: 283.2 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.8307, allocations: 0.7269 MB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.3e-05/0.8307, allocations: 23.94 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.8308, allocations: 21.66 kB / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.8308, allocations: 0 / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.006709/0.8375, allocations: 2.605 MB / 1.23 GB, free: 10.92 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.609140319749713]