Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001161/0.001161, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001853/0.003013, 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.001111/0.001111, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.00259, 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.003/1.003, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09225/1.095, 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.435/2.435, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2931/2.729, allocations: 145.9 MB / 0.817 GB, free: 4.23 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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.[0-9,]+..y|reaToInt.[0-9,]+..y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.[0-9,]+..y|reaToInt.[0-9,]+..y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.052e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001728/0.001749, allocations: 0.7231 MB / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002776, allocations: 0.8935 MB / 0.8199 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.002816, allocations: 0 / 0.8199 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.971e-05/0.002875, allocations: 3.938 kB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.002934, allocations: 7.984 kB / 0.8199 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.591e-05/0.00302, allocations: 23.84 kB / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.003142, allocations: 71.78 kB / 0.82 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.003266, allocations: 27.95 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.003391, allocations: 55.89 kB / 0.8201 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.003494, allocations: 39.89 kB / 0.8201 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.003521, allocations: 4 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.003536, allocations: 8 kB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.003586, allocations: 27.97 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.003625, allocations: 15.94 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.003741, allocations: 51.84 kB / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.003755, allocations: 3.938 kB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003755, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.003772, allocations: 3.938 kB / 0.8202 GB, free: 0.957 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004593/0.004231, allocations: 296.3 kB / 0.8205 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.004265, allocations: 12.62 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.004304, allocations: 4.938 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.004448, allocations: 125.7 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.004473, allocations: 8.375 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.004487, allocations: 4.375 kB / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.0047, allocations: 119.3 kB / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.004709, allocations: 192 / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.00472, allocations: 384 / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004726, allocations: 384 / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.004792, allocations: 19.92 kB / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.005164, allocations: 295.1 kB / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.005273, allocations: 53.08 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.005306, allocations: 17.78 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.005321, allocations: 8 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.005344, allocations: 30.56 kB / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.005346, allocations: 0 / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001738/0.005519, allocations: 57.61 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.005558, allocations: 81.36 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.005634, allocations: 126.7 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.00565, allocations: 29.64 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.005691, allocations: 96.02 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.005712, allocations: 15.88 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.005757, allocations: 21.7 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.005844, allocations: 318.8 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.005867, allocations: 0 / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.005898, allocations: 21.7 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.00899, allocations: 32.53 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008992, allocations: 0 / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.009095, allocations: 57.56 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.009109, allocations: 4 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.009113, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.009121, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.00925, allocations: 15.98 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.009254, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.009303, allocations: 12 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.00931, allocations: 8 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.803e-05/0.009398, allocations: 120.6 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.009438, allocations: 7.922 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.009465, allocations: 11.62 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009467, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.009468, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.009471, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.009642, allocations: 81.88 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009644, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.009737, allocations: 23.98 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.009749, allocations: 15.86 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009752, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.00976, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.009762, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.009763, allocations: 4 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.00992, allocations: 218.8 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.009937, allocations: 7.922 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01005, allocations: 4 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.01011, allocations: 19.97 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.01012, allocations: 8 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.01014, allocations: 12.84 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01014, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002334/0.01038, allocations: 15.95 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.047e-05/0.01047, allocations: 92.53 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01057, allocations: 24.78 kB / 0.8226 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.01058, allocations: 0 / 0.8226 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.01062, allocations: 17.05 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.01088, allocations: 20.05 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.01139, allocations: 183.8 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.01144, allocations: 63.34 kB / 0.8229 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.832e-05/0.01149, allocations: 19.89 kB / 0.8229 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.01157, allocations: 59.38 kB / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.01157, allocations: 0 / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of Templates: time 0.005857/0.01743, allocations: 1.298 MB / 0.8243 GB, free: 12.49 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.364777360111475]