Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002812, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002756, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08857/1.094, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.412/2.412, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2408/2.653, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.536e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002939/0.002964, allocations: 0.7209 MB / 0.819 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.00375, allocations: 0.8818 MB / 0.8199 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.003799, allocations: 4 kB / 0.8199 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.444e-05/0.003864, allocations: 0 / 0.8199 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.951e-05/0.003883, allocations: 3.938 kB / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.003991, allocations: 19.92 kB / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.004059, allocations: 31.92 kB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.004138, allocations: 11.92 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.004212, allocations: 27.92 kB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.00427, allocations: 15.97 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.004291, allocations: 4 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.004301, allocations: 0 / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.004343, allocations: 11.94 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.004367, allocations: 4 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.004448, allocations: 23.92 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.004463, allocations: 0 / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004464, allocations: 0 / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.004476, allocations: 0 / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003359/0.004812, allocations: 256.5 kB / 0.8203 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004844, allocations: 12.62 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.004871, allocations: 4.938 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.004973, allocations: 113.8 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.00499, allocations: 4.375 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.004997, allocations: 8.312 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.005113, allocations: 66.92 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.005119, allocations: 192 / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005126, allocations: 384 / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.005129, allocations: 4.312 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.005156, allocations: 11.94 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.005364, allocations: 178.9 kB / 0.8206 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.979e-05/0.005413, allocations: 22.58 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.005429, allocations: 4.859 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.005441, allocations: 0 / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.005461, allocations: 38.61 kB / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005462, allocations: 0 / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001079/0.00557, allocations: 45.58 kB / 0.8207 GB, free: 280 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.005598, allocations: 51.41 kB / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.005661, allocations: 114.9 kB / 0.8209 GB, free: 88 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.005671, allocations: 25.7 kB / 0.8209 GB, free: 56 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.005721, allocations: 88.09 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.005735, allocations: 3.984 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.005764, allocations: 17.72 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.005838, allocations: 314.8 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.005852, allocations: 4 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.00586, allocations: 0 / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.005893, allocations: 19.67 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005895, allocations: 4.062 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.892e-05/0.005944, allocations: 41.62 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.005958, allocations: 7.938 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005963, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.00597, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.006047, allocations: 8 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.006049, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.006069, allocations: 7.938 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.006072, allocations: 4 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.928e-05/0.006142, allocations: 116.6 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.006154, allocations: 0 / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.006173, allocations: 15.25 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006174, allocations: 0 / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006175, allocations: 0 / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006179, allocations: 3.984 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.304e-05/0.006262, allocations: 73.88 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.006263, allocations: 0 / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.006293, allocations: 8.234 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-06/0.006298, allocations: 0 / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006299, allocations: 4 kB / 0.8216 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.006305, allocations: 15.88 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006305, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006306, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.076e-05/0.006387, allocations: 135.6 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.006394, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.006425, allocations: 3.984 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.00646, allocations: 11.94 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.006462, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.142e-05/0.006473, allocations: 12.84 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006473, allocations: 0 / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001139/0.006587, allocations: 8.031 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 8.714e-05/0.006674, allocations: 76.42 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.006735, allocations: 20.8 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.006739, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.006757, allocations: 16.84 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.006881, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.007267, allocations: 143.4 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.007298, allocations: 55.36 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.007323, allocations: 4 kB / 0.8221 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.007369, allocations: 55.36 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of SimCode: time 1.332e-06/0.007371, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of Templates: time 0.002201/0.009572, allocations: 0.6567 MB / 0.8228 GB, free: 13.99 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.134383386932313]