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.001325/0.001325, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001069/0.001069, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.313/2.313, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 1.383e-06/1.383e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.863e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00125/0.001269, allocations: 0.6664 MB / 0.8392 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.002095, allocations: 0.8702 MB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.00214, allocations: 7.938 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.002236, allocations: 3.984 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.623e-05/0.002262, allocations: 3.938 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.002529, allocations: 27.91 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.002625, allocations: 27.92 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.002715, allocations: 8 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.002795, allocations: 19.92 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.002867, allocations: 15.97 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.00289, allocations: 4 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.002901, allocations: 4 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.002957, allocations: 15.92 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.002982, allocations: 11.92 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.63e-05/0.003079, allocations: 27.91 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.003083, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.423e-06/0.003084, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.003089, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 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.0003217/0.003411, allocations: 248.9 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.003445, allocations: 12.62 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003472, allocations: 0.9375 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.003592, allocations: 117.8 kB / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.003608, allocations: 384 / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.00362, allocations: 8.375 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003736, allocations: 58.88 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003743, allocations: 192 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.00375, allocations: 8.375 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.003755, allocations: 384 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.003781, allocations: 11.92 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.004006, allocations: 175 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.004062, allocations: 26.5 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.004078, allocations: 8.922 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.00409, allocations: 0 / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.004109, allocations: 30.56 kB / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.00411, allocations: 0 / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.004226, allocations: 53.56 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.004256, allocations: 51.41 kB / 0.841 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.004312, allocations: 110.8 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.004322, allocations: 25.7 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.004365, allocations: 96.02 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.004379, allocations: 0 / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.004405, allocations: 17.7 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.004478, allocations: 314.8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.00449, allocations: 3.984 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.0045, allocations: 8.375 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.004531, allocations: 11.69 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.004534, allocations: 4 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.897e-05/0.004583, allocations: 45.62 kB / 0.8416 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.004597, allocations: 14.12 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004602, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.004614, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.00469, allocations: 7.984 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004693, allocations: 0 / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.00471, allocations: 8.094 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.004714, allocations: 0 / 0.8417 GB, free: 10.82 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.127e-05/0.004776, allocations: 108.7 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.00479, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.004809, allocations: 7.25 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.004812, allocations: 3.984 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.004813, allocations: 0 / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004815, allocations: 0 / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.024e-05/0.004896, allocations: 73.89 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004897, allocations: 0 / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.004922, allocations: 11.98 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.004923, allocations: 0 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.004927, allocations: 0 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004928, allocations: 4 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.00493, allocations: 7.922 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.22e-05/0.005002, allocations: 131.5 kB / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.005009, allocations: 7.953 kB / 0.842 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.005016, allocations: 0 / 0.842 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.005048, allocations: 3.984 kB / 0.842 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.005087, allocations: 15.88 kB / 0.842 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.00509, allocations: 4.031 kB / 0.842 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.005102, allocations: 12.84 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005102, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001158/0.005218, allocations: 4 kB / 0.8421 GB, free: 10.38 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.752e-05/0.005306, allocations: 76.42 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.864e-05/0.005364, allocations: 20.78 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005366, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.005386, allocations: 12.91 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.005519, allocations: 12.25 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.00576, allocations: 131.2 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.005799, allocations: 59.34 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.005819, allocations: 4 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.005863, allocations: 51.38 kB / 0.8424 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of SimCode: time 8.61e-07/0.005864, allocations: 0 / 0.8424 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of Templates: time 0.002216/0.00808, allocations: 0.6623 MB / 0.8431 GB, free: 9.305 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.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.180378057062626]